AndiKoll
14 years agoContributor
Dealing with test steps 'Manual teststep' and 'Mock response
Hello,
I have got the following test case:
- doing something (does not matter what) ;-)
- Manual Test Step
- Mock response
- Mock response 2
- Mock repsonse 3
in test step Mock response I set the property 'Start' to Manual Test Step Additionally Mock response 2 Start property is set to Mock response and Mock repsonse 3 Start property is set to Mock response 2 so that the mock response test steps start when the test step before ends.
I expected that the mock response test step starts with klicking on the OK button of the Manual Test Step window.
But: the Mock resonse test step seems to start with the begin of the Manual Test Step so that the following response will be handled independent on when the OK button of the Manual Test Step window is pressed.
Is that behavior a bug or a feature?
When exactly does a Mock response test step start when the Start property is set to an other test step? At the beginning of the test step defined or at the end?
What happends when I define a Mock responses after another (as done in my example)? Does SoapUI trigger on any of the two requests (like a parallel execution of mock resopnse test steps) or shall they be handled sequentially?
To avoid the behavior described above I added a Delay test step after the Manual test step with a minimum of delay time (1ms).
Greetings
Andi
I have got the following test case:
- doing something (does not matter what) ;-)
- Manual Test Step
- Mock response
- Mock response 2
- Mock repsonse 3
in test step Mock response I set the property 'Start' to Manual Test Step Additionally Mock response 2 Start property is set to Mock response and Mock repsonse 3 Start property is set to Mock response 2 so that the mock response test steps start when the test step before ends.
I expected that the mock response test step starts with klicking on the OK button of the Manual Test Step window.
But: the Mock resonse test step seems to start with the begin of the Manual Test Step so that the following response will be handled independent on when the OK button of the Manual Test Step window is pressed.
Is that behavior a bug or a feature?
When exactly does a Mock response test step start when the Start property is set to an other test step? At the beginning of the test step defined or at the end?
What happends when I define a Mock responses after another (as done in my example)? Does SoapUI trigger on any of the two requests (like a parallel execution of mock resopnse test steps) or shall they be handled sequentially?
To avoid the behavior described above I added a Delay test step after the Manual test step with a minimum of delay time (1ms).
Greetings
Andi