Forum Discussion

Insurance_Austr's avatar
Insurance_Austr
New Contributor
11 years ago

http request step URL auto populates http:// when not needed

Using the HTTP Request test case for arbitrary JMS messages
The Request URL : auto populates the http:// string, as soon as a single character is typed into the field.
my JMS endpoint
jms://QMGR1::queue_REQ::queue_REPLY


when entered into the "Request URL" field becomes
http://jms://QMGR1::queue_REQ::queue_REPLY

and if I try to delete the http:// from the front I end up with
http://ttp://jms://QMGR1::queue_REQ::queue_REPLY


My work around is to enter the endpoint into the "HTTP Request Properties" window on the bottom left, but any attempt to modify the endpoint in the Request URL field will again prepend the http:// string to the front.

If this behaviour can be disabled it would greatly improve my experience here.

Thanks,
Simon Harrison

6 Replies

  • nmrao's avatar
    nmrao
    Community Hero
    1. Are you sending a request on soap over jms? So, you can use Test Request step.
  • nmrao's avatar
    nmrao
    Community Hero
    Have you configured hermes jms?
    Are you sending any Authentication details / Headers along with message?

    I am using soapui 4.5.1 free edition and able to send message/xml/Text over jms without any issue.
    I choose TestRequest step, then replaced xml and added my jms endpoint say: jms://JMSSession::queue_QUEUENAME::queue_
    In the above, queue_QUEUENAME::queue_ means sending on to the queue QUEUENAME and not setting any queue name for reply as am not expecting any reply.

    Are you doing any thing different?
  • nmrao's avatar
    nmrao
    Community Hero
    Also wanted to let you know that though it works as mentioned above, it is not the right way to send plain jms message as soapui is to send soap message over jms instead of plan jms.
    Right way to send plain jms is to use a groovy script as there is no appropriate step exists, check the link http://www.soapui.org/JMS/working-with- ... sages.html
  • Thanks for your replies Rao,
    To be clear, I don't have any trouble sending/receiving messages over JMS. and my hermesJMS config is working fine.

    The point of my post was to report a UI bug. When using the http Request step, in ReadpyAPI 1.1.0, (I did forget to mention this!)
    the auto fill of the 'http://' string in the Request URL field needs work, it needs to be smarter than blindly pre-pending to any value that doesn't start with http://

    Thanks,
    Simon
  • nmrao's avatar
    nmrao
    Community Hero
    Ok. What I wanted to convey is that http request step is not intended to use for sending message over jms and that could be the reason why it is appending http as prefix in the endpoint.