Virtual service data set generation
First Claim
1. A method comprising:
- instantiating a virtual service from a service model, wherein the virtual service is operable to receive requests intended for a particular one of a plurality of software components in a system and generate simulated responses of the particular software component based on a service model modeling responses of the particular software component;
receiving, at the virtual service, a particular request from another software component intended for the particular software component, wherein the particular request is a particular type and is redirected to the virtual service;
identifying a size request by a testing system, wherein the size request corresponds to the particular request, the size request indicates a first number of records to be included in a data set for inclusion in a simulated response of the virtual service to the particular request, the first number of records is different than a second number of records defined in the service model to be included in responses to requests of the particular type;
generating the simulated response at the virtual service based on the size request and the service model, wherein generating the simulated response comprises generating the data set to include the first number of records; and
sending the simulated response to the other software component in response to the particular request, wherein the simulated response comprises the data set.
1 Assignment
0 Petitions
Accused Products
Abstract
A virtual service is instantiated from a service model that is operable to receive requests intended for a particular one of a plurality of software components in a system and generate simulated responses of the particular software component based on a service model modeling responses of the particular software component. A particular request is identified that has been redirected to the virtual service. A size of a data set for inclusion in a simulated response of the virtual service to the particular request is determined based on a size value in the particular request. The data set is generated using the virtual service according to the size value and the simulated response that includes the data set is sent to the other software component in response to the particular request.
184 Citations
19 Claims
-
1. A method comprising:
-
instantiating a virtual service from a service model, wherein the virtual service is operable to receive requests intended for a particular one of a plurality of software components in a system and generate simulated responses of the particular software component based on a service model modeling responses of the particular software component; receiving, at the virtual service, a particular request from another software component intended for the particular software component, wherein the particular request is a particular type and is redirected to the virtual service; identifying a size request by a testing system, wherein the size request corresponds to the particular request, the size request indicates a first number of records to be included in a data set for inclusion in a simulated response of the virtual service to the particular request, the first number of records is different than a second number of records defined in the service model to be included in responses to requests of the particular type; generating the simulated response at the virtual service based on the size request and the service model, wherein generating the simulated response comprises generating the data set to include the first number of records; and sending the simulated response to the other software component in response to the particular request, wherein the simulated response comprises the data set. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. A non-transitory computer readable medium having program instructions stored therein, wherein the program instructions are executable by a computer system to perform operations comprising:
-
instantiating a virtual service from a service model, wherein the virtual service is operable to receive requests intended for a particular one of a plurality of software components in a system and generate simulated responses of the particular software component based on a service model modeling responses of the particular software component; receiving, at the virtual service, a particular request from another software component intended for the particular software component, wherein the particular request is a particular type and is to be redirected to the virtual service; identifying a size request by a testing system, wherein the size request corresponds to the particular request, the size request indicates a first number of records to be included in a data set for inclusion in a simulated response of the virtual service to the particular request, the first number of records is different than a second number of records defined in the service model to be included in responses to requests of the particular type; generating the simulated response at the virtual service based on the size request and the service model, wherein generating the simulated response comprises generating the data set to include the first number of records; and sending the simulated response to the other software component in response to the particular request, wherein the simulated response comprises the data set.
-
-
17. A system comprising:
-
a data processor; a memory; a virtualization system to host a virtual service, operable to simulate responses of a particular one of a plurality of software components in a system based on a service model corresponding to the particular software component, wherein the virtual service is to comprise data set generation logic to; receive a particular request redirected to the virtual service from another software component in the plurality of software components, wherein the particular request is of a particular type; identify, within the particular request, a size request embedded within the particular request and added to the particular request following generation of the particular request; determine, from the size request, a first number of records to be included in a data set to generate for inclusion in a simulated response generated by the virtual service in response to the particular request, wherein the first number of records is different than a second number of records defined in the service model to be included in responses to requests of the particular type; and generate the simulated response at the virtual service based on the size request and the service model, wherein generating the simulated response comprises generating the data set to include the first number of records, and the virtual service is to send the simulated response comprising the data set to the other software component in response to the particular request. - View Dependent Claims (18, 19)
-
Specification