Forum Discussion

Sharath's avatar
Sharath
Occasional Contributor
13 years ago

Id regeneration using groovy

Hi

I'm working with soapUI and groovy to do a test whether a particular value regenerates again?

I'll have a soapUI request with JSON which gives a id in the response, i should extract tat id and store it in a dynamic location so that the when i run the test case again, i should be able to compare the prev value(s). if it both matches then the test case should fail, if not then the new value should be added and the when the test case runs now, it should compare the prev two values.

This goes on for a min of 10000 runs. so that 10000th id should get compared with all the 9999th id to check for repetition. If it exists, it should fail else the test should pass.

Please help me.. Thanks in advance!
No RepliesBe the first to reply