Load Runner Script Stepdown timeout error for uploading file attachment in PeopleSoft 9.2 (1770 Views)
Reply
Occasional Advisor
PS_LR
Posts: 10
Registered: ‎10-15-2013
Message 1 of 2 (1,770 Views)

Load Runner Script Stepdown timeout error for uploading file attachment in PeopleSoft 9.2

[ Edited ]

I recorded a script in load runner 9.52 on Oracle Enterprise PeopleSoft (PS) 9.2 web application.

 

The script is used for General Ledger Journals upload, submit, edit as well as file attachment upload in Journal header.

 

The script is verified with all the correlations including ICSID for both journal submitter and approver. They are working fine for a signle user replay.

 

 //U3Wqr6rDnz1RcxZmkYaTpMHUzhl6ASiOGuNtjxZvr7Q=
 web_reg_save_param("ICSID_Submitter",
  "LB/IC=name='ICSID' id='ICSID' value='",
  "RB='",
  "Ord=1",
  "RelFrameId=1.1",
  "Search=Body",
  "IgnoreRedirections=Yes",
  LAST);

 

All ICStateNum are consistent within the same ICSID.

 

In orther words, no potential correlation issues as all correlations are done manully from response data with unique boundary instead of using auto correlation from load runner embeded funtion.

 

In addition, all ICSID has been converted to URL format during AJAX URL request.

 

  //Convert parameter ICSID_Submitter_URL to URL format to be used for AJAX
 web_convert_param("ICSID_Submitter_URL",
  "SourceString={ICSID_Submitter}",
  "SourceEncoding=PLAIN",
  "TargetEncoding=URL",
  LAST);

 

High level test case includes the following steps.

 

1. Submitter import journal, make sure all the fields in the header and journal lines have values

2. Submitter login PS 9.2

3. Navigate to the page: Create/Update Journal Entries

4. Goto Tab: Find an Existing Value

5. Search journal by BU and Journal ID

6. Open journal

7. Add attachment in Header tab

8. Go To Line tab

9. Edit journal, journal status is changed to V

10. Submit Journal

11. Submitter Signout

12. Approver login

13. Approver open the wordlist, find the journal

14. click on the journal

15. Navigate to Approval tab

16. click on the Submit button to approve the journal

17. Approver sign out

 

Run with less 30 users for a single script, no issues and errors.

 

But while running more users and loads, the script failed at step 7 for uploading file attachments.

 

Please note, every user has different attachment with size less than 15KB. The type of attachments are email, excel, JPG and word file, which are common accepted PeopleSoft attachments.

 

During load runner execution, the runtime setting of "http keep live time out" has been set for 1000 seconds in load runner scripts. However, during executing load runner scripts with mutiple users in performance center, the failures show "

 

The sumamry of attachment upload during running load tests in HP performance center:

 

  • 30 max concurrent users, each user upload 1 attachment/journal, 2 attachments failed, 40 attachments passed
  • 50 max concurrent users, each user upload 1 attachment/journal, 5 attachments failed, 45 attachments passed
  • 80 max concurrent users, each user upload 1 attachment/journals, 56 attachment failed, 72 attachment passed

 

While running the load tests above, the failure of uploading attachment in PeopleSoft Journal Header can also be manually reproduced in local machine.

 

 

The detailed manual steps to create the scripts are:

 

1. Configure correct users which have been manually verified to upload journal and attachment.

 

2. Open PS9.2 login page

 

3. Login with username and Password, click "Sign In" button

 

4, Go to Main Menu > General Ledger > Journals > Journal Entry > Create/Update Journal Entries

 

5. Go To "Find An Existing Value tab"

 

6. Input

 

Business Unit:   

Journal ID:   

Click "Search" button

 

7. On the "Header" tab, click "Attachment" link

 

8. Click "Add Attachment", click "Browse" to select attachments from file attachment dialog.

 

9. In the popup dialog, Click "Upload" button to upload attachment selected from load drive, for instances, "C:\PeopleSoftJournalEntryUpload\Attachment Files\Email Format Attachment1.msg"

 

 

Expected Result:

 

File Attachment uploaded successfully with "Details" displayed under header tab

 

 

Actual Result:

 

The waiting progress circle keeps showing for attachment to be uploaded but never stop successfully.

There is a circle process bar keep running while waiting for attachment to be upload, but never stops and the attachment never gets uploaded.

 

 

 

After reviewing the script, I cannot spot any errors and all the replay for single or less concurrent users are totally fine without any errors and warning.

Oracle experts also did some tests using their tools and cannot see anything from their sides.

 

It will be much appreicated if any one has experienced the same situation and could shed the lights to walk me through the dark.

 

The part in the script for uploading the attachment has two requests and the first request pass but the second failed during more users load which should be able to support as per previous baseline with attachment indicated.

 

There is a text check for "File attachment failed" which is a message returned from server while file attachment failed. This message display while the stepdown timeout error happened.

 

 

 lr_think_time(3);

 web_reg_find("Text/IC=File attachment failed",
  "SaveCount=File_Attachment_Status",
  LAST);

 

 lr_start_transaction("Submitter_Upload_Attachments");

 

 

//First Request

 web_submit_data("PROCESS_JOURNALS.JOURNAL_ENTRY_IE.GBL_8",
  "Action=https://{URL}:{Submitter_Port}/psc/{Submitter_DB}/EMPLOYEE/ERP/c/PROCESS_JOURNALS.JOURNAL_ENTRY_IE.GBL",
  "Method=POST",
  "EncType=multipart/form-data",
  "RecContentType=text/xml",
  "Referer=https://{URL}:{Submitter_Port}/psc/{Submitter_DB}/EMPLOYEE/ERP/c/PROCESS_JOURNALS.JOURNAL_ENTRY_IE.GBL?ICType=Panel&ICElementNum=0&ICStateNum=5&ICResubmit=1&ICAJAX=1&",
  "Snapshot=t17.inf",
  "Mode=HTML",
  ITEMDATA,
  "Name=ICType", "Value=Panel", ENDITEM,
  "Name=ICElementNum", "Value=0", ENDITEM,
  "Name=ICStateNum", "Value=6", ENDITEM,
  "Name=ICAction", "Value=#ICOK", ENDITEM,
  "Name=ICXPos", "Value=0", ENDITEM,
  "Name=ICYPos", "Value=0", ENDITEM,
  "Name=ResponsetoDiffFrame", "Value=-1", ENDITEM,
  "Name=TargetFrameName", "Value=None", ENDITEM,
  "Name=FacetPath", "Value=None", ENDITEM,
  "Name=ICFocus", "Value=", ENDITEM,
  "Name=ICSaveWarningFilter", "Value=0", ENDITEM,
  "Name=ICChanged", "Value=0", ENDITEM,
  "Name=ICResubmit", "Value=0", ENDITEM,
  "Name=ICSID", "Value={ICSID_Submitter}", ENDITEM,
  "Name=ICActionPrompt", "Value=false", ENDITEM, 
  "Name=ICTypeAheadID", "Value=", ENDITEM, 
  "Name=cmd", "Value=addattach", ENDITEM,
  "Name=prompts", "Value=1", ENDITEM,
  "Name=maxfilesize", "Value=0", ENDITEM,
  "Name=stoponerror", "Value=0", ENDITEM, 
   "Name=urlid", "Value=", ENDITEM,
  "Name=CheckNum0", "Value=16838.txt", ENDITEM,
  "Name=DetailReturnCode0", "Value=0", ENDITEM,
  "Name=#ICOrigFileName", "Value={Attachment}", "File=Yes", ENDITEM, //C:\\\\PeopleSoftJournalEntryUpload\\\\Attachment Files\\\\Email Format Attachment.msg
  LAST);

 

 

//Second request

web_custom_request("PROCESS_JOURNALS.JOURNAL_ENTRY_IE.GBL_9",
  "URL=https://{URL}:{Submitter_Port}/psc/{Submitter_DB}/EMPLOYEE/ERP/c/PROCESS_JOURNALS.JOURNAL_ENTRY_IE.GBL",
  "Method=POST",
  "Resource=0",
  "RecContentType=text/xml",
  "Referer=https://{URL}:{Submitter_Port}/psc/{Submitter_DB}/EMPLOYEE/ERP/c/PROCESS_JOURNALS.JOURNAL_ENTRY_IE.GBL?ICType=Panel&ICElementNum=0&ICStateNum=4&ICResubmit=1&ICAJAX=1&",
  "Snapshot=t18.inf",
  "Mode=HTML",
  "Body=ICAJAX=1&ICNAVTYPEDROPDOWN=1&ICType=Panel&ICElementNum=0&ICStateNum=6&ICAction=Resubmit&ICXPos=0&ICYPos=0&ResponsetoDiffFrame=-1&TargetFrameName=None&FacetPath=None&ICFocus=&ICSaveWarningFilter=0&ICChanged=0&ICResubmit=1&ICSID={ICSID_Submitter_URL}&ICActionPrompt=false&ICTypeAheadID=&ICFind=&ICAddCount=&ICAPPCLSDATA=&PAYMENT_ATT$hnewpers$0="
  "0%7C0%7C0%7C0%7C0%7C63%7C0%234%7C0%7C0%7C0%7C0%7C132%7C0%235%7C0%7C0%7C0%7C0%7C228%7C0%236%7C0%7C0%7C0%7C0%7C100%7C0%237%7C0%7C0%7C0%7C0%7C297%7C0%238%7C0%7C0%7C0%7C0%7C113%7C0%23",
  LAST);


 if (atoi(lr_eval_string("{File_Attachment_Status}")) > 0)
 {
  lr_error_message("File Attachment Failed");
  lr_end_transaction("Submitter_Upload_Attachments", LR_FAIL);
  lr_exit(LR_EXIT_ACTION_AND_CONTINUE, LR_FAIL);
 }
 else
 {
  lr_output_message("Edit Journal successfully.");
  lr_end_transaction("Submitter_Upload_Attachments", LR_PASS);
 }

 

 Excuse me cannot post all scripts as this script has more than 20 steps.  I personally do not think it is a script issue.

 

"ileAttachment_failed_Message_PerformanceCentre.JPG" has the error message got from HP Performance Centre.

 

"FileAttachment_failed_StepdownTimeout_waitingstatus_manualProduce.JPG" shows the waiting status circle for uploading attachment which eventually causes attachment upload time out error.

 

Occasional Advisor
era__gupta
Posts: 13
Registered: ‎10-10-2012
Message 2 of 2 (1,650 Views)

Issue with replaying Oracle Peoplesoft Enterprise Application with Loadrunner11

Hi ,

 

I am facing error with replaying the Oracle Peoplesoft Enterprise Application .

I am using Web(http/html) protocol and did correlation and recommended recording option .

 

When I am replaying the script after the first page Oracle Peoplesoft Enterprise Application authentication page is coming.

 

No Idea why ?

 

Someone Please Help!

 

Thanks

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.