Forum Discussion
RiteshY
Occasional Contributor
log.info reqContent prints encoded request.
nmrao
9 years agoChampion Level 3
Then it should be able to set the request using:
context.requestContent = reqContent
You need to check the raw request, not in the request editor if the change has happened or not, just in case it was not check in this way earlier.
context.requestContent = reqContent
You need to check the raw request, not in the request editor if the change has happened or not, just in case it was not check in this way earlier.
- RiteshY9 years agoOccasional Contributor
I am checking RAW request not the request section. Please see following screencast
- nmrao9 years agoChampion Level 3could not see raw request from the attachment.
I could not see the suggested statement in the script.- RiteshY9 years agoOccasional Contributor
It's a GIF file. You should be able to see raw request in the animation. (May be download the file and see it. Somehow, It's super slow in forum window)
Also, I am using following line to set the content which is not very different that you are suggesting.context.requestContent = "=$reqContent".toString()
I tried with what you are suggesting and result is same.
-Ritesh
Related Content
Recent Discussions
- 22 hours agodipsthorat
- 2 days agoisbiat
- 3 days agoarmygrad