Forum Discussion
diegomarconato
Occasional Visitor
My problem is that I use UNIQUE_ID several times in the SOAP request of the Test Case.
So it happens that I generate two different UINIQUE_ID. I want to create the same again UNIQUE_ID
rupert_anderson
9 years agoValued Contributor
So another way of saying what you want is when your TestCase is run:
- You want to generate a unique id (once per TestCase run)
- Then use that id multiple times in the same TestCase execution without the value changing.
- On the next run of the TestCase, a new id will be generated
Does this make sense and match what you want?
If so please see either my or Rao's answer. Mine uses a Groovy TestStep at the beginning, his uses a setup script - both achieve the same result.
Regards,
Rup
Related Content
- 5 years ago
- 8 years ago
Recent Discussions
- 2 days ago
- 2 days ago