Contributions
MQTT Receive Test Step gets cancelled if we execute with groovy script
Hi Team, MQTT(Receive) Test Step gets cancelled if i execute that test step with the help of groovy script. I am running that script from TestCase screen as it does not work if i simply execute the groovy script separately So i am running that groovy script from the Test Case level. MQTT Publish Test Step works perfectly fine with the script. Problem is with the Receive. Please anyone help me! First Cancelled showed up then Pass. But still pass condition does not work this way. Video attached for reference! Groovy Script: testStep = testRunner.runTestStepByName("Receive MQTT Message")Solved7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes1CommentUnable to execute the MQQT TestStep using groovy script in ReadyAPI.
Hi Team, I am unable to execute the MQTT Test Step using groovy script.Same scripts successfully executes the rest/soap test step but it returns cancel in the test logs. please suggest me the way. Here my script; def result = context.testCase.testSteps["1- Publishing Ready State"].run(testRunner, context).getStatus();7 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.1KViews0likes2Comments