Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.
is it possible to overwrite response code and message using scripted message responder
Options
alemayehu_bofa
Posts: 44 ✭
in Virtualize
i am setting up a scripted message responder which is configured to send 200:OK. Is it possible to overwrite these status code and message from within the script used in a scripted response of the message responder.
Thank you
Tagged:
0
Answers
-
Hi,
The response status code is configured in Message Responder > Options > Return Status. From a scripted response you might be able to set a value into a suite level variable or a data bank and then use that variable from the Return Status options but I don't think there is a way in the scripted response to directly set the status code.
0 -
thanks WIlliam
0