Forum Discussion
2 Replies
Sort By
- sindhu17Occasional Visitor
You can create a application session from the UI and use cookies that save the session. Get the session cookie details from the browser using the developer tools of the browser. The image shows Pega where the cookies are available in the browser :
In soapUI create a header attribute with the same value you obtained from the browser and run the request. The request will use the same session id(JSESSIONID) that is saved in the cookie to run the request. The below images shows how to add the cookie value to the header.
- nmraoChampion Level 3See if the below link is of any help. By the way, the script sets cookie to next step.
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/AddCookiesToNextRequest.groovy
Related Content
- 5 years ago
- 9 years ago
Recent Discussions
- 2 days ago