activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mchaudhari <>
Subject Can we send and recive Xml Message from aactive MQ using QTP (getting "full head error")
Date Thu, 24 Jun 2010 05:38:38 GMT

1) I have an automation project in which I am using quick test professional
2) It involves passing/receiving xml to/from system through JMS (as some
step/s in test case).
3) We are using ActiveMQ as a JMS server.
4) QTP supports VB script, so can it be possible to communicate with JMS
using normal VB script?
5) If not is there any other way to do that.

1) I have heard of REST protocol which is supported by ActiveMQ and its a
normal HTTP protocol.
(POST: to send and GET: to receive)
2) We can send an Http request using VB script and I have successfully done
that.(i.e. sent an xml to queue)

Set g_objWinHttpRequest = CreateObject("WinHttp.WinHttpRequest.5.1") 'creat
request object
g_objWinHttpRequest.SetTimeouts 0, 0, 0, 0 'set request Timeout
g_objWinHttpRequest.Open "POST",
false 'send post Request

3) But while receiving an XML using get I am getting "full head error"
Reason might be:
1) GET request has limited size but my response xml is in range of 0.5 to 1
2) Also I am getting string formatted xml so its even bigger for a GET
request to accommodate.

Can anyone please help me out with this? In terms of,
1) How to overcome “full head error”
2) Any other way of JMS and QTP integration (message type is strictly big
strings formatted xmls)

Mahesh Chaudhari 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message