AndiKoll
14 years agoContributor
Creating responses with bulk data
Hi there,
our usecase is the following:
a client request has to be answered with a response which defines how many data have to be sent.
The client sends reuests for the new data which will be answered by responses including a bulk of new data.
As long as the responder does not sdend a stop signal the client requests more data.
What is the best method to implement this usecase?
On the one hand I have the possibility to create a test case using data test steps like datasource. In this case I have to wait for a request using the test step "mock response" but I do not see how to create an appropriate response.
On the other hand I can create mock services but I do not see the possibility to create a data source step. Do I have to script the step 'Data source" within the mock service?
Greetings
Andi
our usecase is the following:
a client request has to be answered with a response which defines how many data have to be sent.
The client sends reuests for the new data which will be answered by responses including a bulk of new data.
As long as the responder does not sdend a stop signal the client requests more data.
What is the best method to implement this usecase?
On the one hand I have the possibility to create a test case using data test steps like datasource. In this case I have to wait for a request using the test step "mock response" but I do not see how to create an appropriate response.
On the other hand I can create mock services but I do not see the possibility to create a data source step. Do I have to script the step 'Data source" within the mock service?
Greetings
Andi