Hi All,
With reference to this issue https://groups.google.com/g/gatling/c/IC0-fGXxxLw.
I found an workaround but facing the below issue
Initial issue
- For a Post request server can only accept the Raw format.
- Hence used the .body(RawFileBody(“request-bodies/testt”)) in which substitution isn’t possible and values are getting passed as such.
I need to pass the request with dynamic substituted values, hence used the below workaround.
Workaround
- Created a raw file test with original correlated variables inside it
- Opened the raw file test and replaced the correlated variables with the actual values from server.
- Then copied the final content and set it into a session and copied the update value with substituted values from server into a new file called testt.
Issue
- When I run the script for the first time there won’t be any file name testt inside the request bodies folder and hence that particular request isn’t getting triggered.
Could you please tell is there anyway to access the created file during runtime?
Regards,
Aravind G