[scriptler-plugin] please tell me how to handle the response code after calling script rest.

15 views
Skip to first unread message

Ethan

unread,
Jun 14, 2022, 11:35:22 PM6/14/22
to Jenkins Users

Hello.
I'm calling script using scriptler-plugin.
However, even if an exception occurs in the script, all 200 responses are received.

So,

can I handle the response code according to the script?

yarin kossover

unread,
Jun 20, 2022, 2:10:06 AM6/20/22
to Jenkins Users
Do you have any snippet ? 
Your script call to a third party API , failed, and still receive status code 200 ?
I'm sure I miss something 
Reply all
Reply to author
Forward
0 new messages