Print Page | Close Window

LoadRunner Causing Mutiple Submits

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: LoadRunner @ OneStopTesting
Forum Discription: LoadRunner is a performance and load testing product by HP / Mercury Interactive for examining system behavior and performance, while generating actual load.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=956
Printed Date: 20Nov2024 at 6:45am


Topic: LoadRunner Causing Mutiple Submits
Posted By: Ayushi
Subject: LoadRunner Causing Mutiple Submits
Date Posted: 25Apr2007 at 10:18pm
I'am load testing a pacakage. While trying to update a certain entity via the VUser Script i'am getting an application error which occurs if do multiple click. While recording i did not have this issue.

The page uses javascript to submit the form before it submits the form it disable all the action button.

Attached Part of the script

web_submit_data("update.object.do",
"Action=http://www.cicr.sony.co.jp:7009/sox/update.object.do",
"Method=POST",
"RecContentType=text/html",
"Referer=http://www.cicr.sony.co.jp:7009/sox/edit.object.do",
"Snapshot=t11.inf",
"Mode=HTML",
ITEMDATA,
"Name=org.apache.struts.taglib.html.TOKEN", "Value=3c3d1c69ea1580aa06e6a75fd2677698", ENDITEM,
"Name=submitAction", "Value=update", ENDITEM,
"Name=fileId", "Value=18480", ENDITEM,
"Name=folderId", "Value=", ENDITEM,
"Name=parentFolderId", "Value=18479", ENDITEM,
"Name=path", "Value=/_op_sox/Project/Default/ICDocumentation/Processes/ZSGS_Performance/Japan-Test/Sony (China) Ltd./Sales and Marketing/Sony China/Financial Statement Close.txt", ENDITEM,
"Name=parentPath", "Value=", ENDITEM,
"Name=propertyActionForm[0].value", "Value=Routine", ENDITEM,
"Name=propertyActionForm[1].value", "Value=", ENDITEM,
"Name=propertyActionForm[2].value", "Value=", ENDITEM,
"Name=propertyActionForm[3].value", "Value=", ENDITEM,
"Name=propertyActionForm[4].value", "Value=user01", ENDITEM,
"Name=propertyActionForm[4].displayName", "Value=user01", ENDITEM,
"Name=propertyActionForm[5].value", "Value=", ENDITEM,
"Name=propertyActionForm[6].value", "Value=", ENDITEM,
"Name=propertyActionForm[7].value", "Value=", ENDITEM,
"Name=propertyActionForm[8].value", "Value=Film Costs", ENDITEM,
"Name=propertyActionForm[9].value", "Value=Accounting and finance", ENDITEM,
"Name=propertyActionForm[15].value", "Value=This is a performance test 222222222", ENDITEM,
"Name=permission_Save", "Value=", ENDITEM,
"Name=button_mode_Save", "Value=", ENDITEM,
"Name=button_type_Save", "Value=button", ENDITEM,
"Name=button_mode_Cancel", "Value=", ENDITEM,
"Name=button_type_Cancel", "Value=button", ENDITEM,
LAST);



Print Page | Close Window