jschwartz
7 months agoNew Member
Pre-Request Script
Hello, I am new to SOAP UI and coming from a Postman background. In Postman, I have a Pre-Request Script i run and wanted to know if the same concept exists in SOAP UI?
The script is used to sign a jwt token with a private key and then use that token to get an access token for other rest api's.
As stated above, this request will use javascript to sign a jwt token with a private key (PEM) and set a variable or two.
So far, in automate access token retrieval - it does not seem to setting a multi-line private key to a variable but will accept if all on one line.
Thoughts?