Steve Harris
unread,Feb 28, 2012, 7:30:37 PM2/28/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LoadRunner
We've been attempting to create a script to run a simple test on our
server and failing miserably. Our software engineer provided us with
the message his application expects to receive. Our loadrunner script
sends a message that is very close but is apparently lacking the Mime
version and Content type that our implementation of TIBCO requires.
We have been trying to figure out where this content type is generated
as we imported the wsdl directly off the TIBCO server and loadrunner
created our weblogic script from the Add Service Request option in the
vugenerator. We are complete loadrunner newbies and could really use
any assistance we can receive.
Here is our web_service_call
Action()
{
web_service_call( "StepName=PingURL_102",
"SOAPMethod=PingUrl|PingURLServer|PingURL",
"ResponseParam=response",
"Service=PingUrl",
"JMSSendQueueName=PingURL.Request",
"JMSReceiveQueueName=PingURL.Response",
"ExpectedResponse=SoapResult",
"Mime_Version={string:'1.0'}",
"Content_Type={string:'text/xml; charset='utf-8'}",
"Snapshot=t1330386795.inf",
BEGIN_ARGUMENTS,
"xml:MSMsgHeader="
"<MSMsgHeader>"
// "<build>3</build>"
// "<buildString></buildString>"
// "<CSUnits>feet</CSUnits>"
// "<majorVersion>4</majorVersion>"
// "<minorVersion>1</minorVersion>"
// "<pwd></pwd>"
// "<userID></userID>"
"</MSMsgHeader>",
"xml:PingURL="
"<PingURL></PingURL>",
END_ARGUMENTS,
BEGIN_RESULT,
"MSMsgHeader/build=Param_build",
"MSMsgHeader/buildString=Param_buildString",
"MSMsgHeader/CSUnits=Param_CSUnits",
"MSMsgHeader/majorVersion=Param_majorVersion",
"MSMsgHeader/minorVersion=Param_minorVersion",
"MSMsgHeader/pwd=Param_pwd",
"MSMsgHeader/userID=Param_userID",
"PingURLResponse/PingURLResult=Param_PingURLResult",
"PingURLResponse/PingURLResult/*[1]=Param_ErrorObject",
END_RESULT,
LAST);
return 0;
}