Forum Discussion

parkash's avatar
parkash
New Contributor
7 years ago
Solved

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")

  • Hi Parkash,

     

    I see that you worked on this issue with our Support Team and you were provided with a workaround. The corresponding issue should be fixed in the next release.

1 Reply

  • Nastya_Khovrina's avatar
    Nastya_Khovrina
    SmartBear Alumni (Retired)

    Hi Parkash,

     

    I see that you worked on this issue with our Support Team and you were provided with a workaround. The corresponding issue should be fixed in the next release.