Forum Discussion
nmrao
2 years agoChampion Level 3
Can you please try changing from
context.httpResponse.responseContent
to
context.getProperty("MQTT Response").getValue()
And see if that helps!
- nastester2 years agoRegular Contributor
Hi Rao,
I am struggling to get the right property name for the JMS response.
I have this just to test:
def content = context.getProperty("JMS Response").getValue()
log.info( content )
but I am getting this error:java.lang.NullPointerException: Cannot invoke method getValue() on null object
error at line: 2On the left side of ReadyAPI, I can see the custom JMS Request Test Step Properties and the response property but not sure how to access it in groovy
- nmrao2 years agoChampion Level 3Thought you might be having the script which is expecting response from mqtt step, so I gave the earlier response.
Related Content
- 5 years ago
Recent Discussions
- 3 hours ago