Forum Discussion

AndiKoll's avatar
AndiKoll
Contributor
13 years ago

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

1 Reply

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hello!

    It sounds to me that you want to actually develop the web service that you described in soapUI. SoapUI is not really designed to develop web services in, but as you expected most things can be done with scripting. I.e. yes, you have to script the step DataSource within the mock service.

    Regards

    Henrik
    SmartBear Software