Ask a Question

Script assertion error

Aplis
New Contributor

Script assertion error

 

 I have a script assertion to trigger subsequent assertions within a step based on a value. While executing in a single flow I get the below error sporadically but while executing the test case in a loop, I get it more frequently . although the script is marked as fail, it is enabling and disabling other assertions based on value correctly. This issue is causing the test suite to be in FAIL status all the time. 

Script editor says "Context" object is available, but when executed it says its not available . can someone help me with this please.

ReadyAPI version: 3.40.2

 

Aplis_1-1664810348571.png

 

 

 

 

2 REPLIES 2
KarelHusa
Super Contributor

@Aplis,

the context should be available for this script every time.

 

I would recommend contacting support.

 

Best regards,

Karel

 

Karel@apimate.eu
https://apimate.eu

Thank you. Will open a case. 

cancel
Showing results for 
Search instead for 
Did you mean: