Forum Discussion
SoapRookie
13 years agoOccasional Contributor
Hi Reshma,
These are the steps that I followed:
1. I have created a test case with the login test step to obtain the sessionId.
2. I added the Groovy script suggested by you as a test step withing the same test case.
3. In the other test case, where I need that sessionId, I did a point and click step by doing a GetData > Test Suite > CreateNew > Property[SessionId]
But this is not working when I ran the test suite.
I am getting an error that the Session Id is invalid. I am wondering if step3 is wrong. Could you please suggest?
Thanks
These are the steps that I followed:
1. I have created a test case with the login test step to obtain the sessionId.
2. I added the Groovy script suggested by you as a test step withing the same test case.
3. In the other test case, where I need that sessionId, I did a point and click step by doing a GetData > Test Suite > CreateNew > Property[SessionId]
But this is not working when I ran the test suite.
I am getting an error that the Session Id is invalid. I am wondering if step3 is wrong. Could you please suggest?
Thanks