Hi All,
i m testing performance of GUI application which is developed in Java.The Communication happens with HTTP protocol.
The actual scenario is as follows.
1. We have to map a shared network drive.
2. When we hit the URL the java application will download from the drive and launch the GUI of the application.
3. Once the required transaction is done, it will update the transaction in corresponding database and will create some log files in the same shared network drive.
The issue here is,
I have used Web HTTP/HTML protocol to record the script.
Here the network drive is mapped manually and started recording. While recording the script it has created the log files in the share drive.After parameterizing the script and when we ran multiple iterations the transactions were captured in corresponding Database but corresponding logs were not generated in share drive.
So could you please suggest any functions so that in the script itself we will map the share drive so that log files gets created.
Thanks,
Swamy.
The actual scenario is as follows.
1.We have to map a shared windows network drive.
2.When we hit the URL the java application will download from the share drive and launch the GUI of the application.
3.Once the required transaction is done, it will update the transaction in corresponding database and will create some log files in the same shared network drive.
The issue here is,
1.I have used Web HTTP/HTML protocol to record the LoadRunner script.
2.Here the network drive is mapped manually and started recording.
3.While recording the script it has created the log files in the share drive.
4.After parameterizing the script and when we ran multiple iterations the transactions were captured in corresponding Database but corresponding logs were not generated in share drive.
here are the sample xml requests that sent to server while recording the script.
web_custom_request("RadioStatusRequest",
"URL=http://server name",
"Method=POST",
"Resource=0",
"Referer=",
"Mode=HTML",
"EncType=text/xml; charset=ISO-8859-1",
"Body=<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DATA_TRANSMISSION
xmlns=\"http://www.xyz.com/Schemas/DataTransmission\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xsi:schemaLocation=\"http://www.xyz.com/Schemas/DataTransmission
DRXM.xsd\"><HEADER><ISA_SENDER_ID>1</ISA_SENDER_ID><FILE_ID>fileID</FILE_ID>
<FILE_SENT_DATE>123456789</FILE_SENT_DATE></HEADER><PAYLOAD><ORDER><TRANSACT
ION_INFO><TRANS_ID>status20080821880_machine</TRANS_ID></TRANSACTION_INFO><T
RANSACTION>"
"<WHOLESALE><RADIO><UAS_STATUS_REQUEST><RADIO_ID>{Radio}</RADIO_ID></UAS_STA
TUS_REQUEST></RADIO></WHOLESALE></TRANSACTION></ORDER></PAYLOAD></DATA_TRANS
MISSION>",
LAST);
and
web_custom_request("Order",
"URL=http://xyz.com",
"Method=POST",
"Resource=0",
"Referer=",
"Mode=HTML",
"EncType=text/xml; charset=ISO-8859-1",
"Body=<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<DATA_TRANSMISSION
xmlns=\"http://www.xyz.com/Schemas/DataTransmission\"
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
xsi:schemaLocation=\"http://www.xyz.com/Schemas/DataTransmission
DRXM.xsd\"><HEADER><ISA_SENDER_ID>1</ISA_SENDER_ID><FILE_ID>fileID</FILE_ID>
<FILE_SENT_DATE>123456789</FILE_SENT_DATE></HEADER><PAYLOAD><ORDER><TRANSACT
ION_INFO><TRANS_ID>userid20080821276_machine</TRANS_ID></TRANSACTION_INFO><T
RANSACTION>"
"<WHOLESALE><RADIO><ACTION_PREACTIVATE
PKG_PART_NUM=\"1723\"><RADIO_ID>{Radio}</RADIO_ID></ACTION_PREACTIVATE></RAD
IO></WHOLESALE></TRANSACTION></ORDER></PAYLOAD></DATA_TRANSMISSION>",
LAST);
here is there any need for correlation?
Also could you please suggest any functions so that in the script itself we
will map the windows network share drive so that log files gets created.
Thanks,
Swamy.