Marshall
12 years agoOccasional Contributor
Scripting Mock Response's port number
SmartBear/Support Community,
I have a question and am optimistic that someone will be able to shed some light on the answer.
First a description of my testing scenario:
In my testing using soapUI, I have a workflow consisting of multiple SOAP test step requests to the same endpoint. After each request, there is a subsequent Mock Response test step which waits for an asynchronous response from the aforementioned endpoint. This async response notifies my soapUI client when the previous request has succeeded so the flow can progress to the next step. These async responses are very important because each step depends on the one before it to have completed successfully before executing itself and the time each step takes to complete varies depending on the request.
This process works great when using one thread, however when performing stress testing with multiple threads I have encountered an issue. Each thread runs through the workflow with its own unique dataset, and thus, each Mock Response requires its own unique port number to listen for the async response on. Each thread receives its dataset/values through a combination of DataGen and Groovy Script test steps. However, I have been unable to find a way to script the Port number on which the Mock Response test step listens. Is there a way to do this?
My question is: How can I script the Port number on which a Mock Response test step listens. Is there a way to do this?
Below is a screen capture of the value I am trying to change in my script:
I am running:
Software Version: soapUI Pro 4.5.2
Build Date: 20130522-1354
Thank you all in advance for your time and expertise!
I have a question and am optimistic that someone will be able to shed some light on the answer.
First a description of my testing scenario:
In my testing using soapUI, I have a workflow consisting of multiple SOAP test step requests to the same endpoint. After each request, there is a subsequent Mock Response test step which waits for an asynchronous response from the aforementioned endpoint. This async response notifies my soapUI client when the previous request has succeeded so the flow can progress to the next step. These async responses are very important because each step depends on the one before it to have completed successfully before executing itself and the time each step takes to complete varies depending on the request.
This process works great when using one thread, however when performing stress testing with multiple threads I have encountered an issue. Each thread runs through the workflow with its own unique dataset, and thus, each Mock Response requires its own unique port number to listen for the async response on. Each thread receives its dataset/values through a combination of DataGen and Groovy Script test steps. However, I have been unable to find a way to script the Port number on which the Mock Response test step listens. Is there a way to do this?
My question is: How can I script the Port number on which a Mock Response test step listens. Is there a way to do this?
Below is a screen capture of the value I am trying to change in my script:
I am running:
Software Version: soapUI Pro 4.5.2
Build Date: 20130522-1354
Thank you all in advance for your time and expertise!