Re: How to Upload large file- oracle web app protocol (753 Views)
Reply
Occasional Visitor
alsaif
Posts: 2
Registered: ‎06-06-2012
Message 1 of 3 (794 Views)

How to Upload large file- oracle web app protocol

[ Edited ]

hi
I'm trying to upload 100kb file using oracle web application protocol

 

am using loadrunner ver 11

 

i recorded the upload and it generated a large encoded code


    nca_button_press("CONTROL_START_0");

    nca_java_action("BLOCK_BEAN_UPLOADER_0", "UPLOADSTART", "");

    nca_java_action("BLOCK_BEAN_UPLOADER_0", "FILENAME", "FILENAME==TEST_AA0530.PTS;FILEDIRECTORY==C:\\;");

    nca_java_action("BLOCK_BEAN_UPLOADER_0", "CHUNKDATA", "CHUNKVALUE==H4sIAAAA
AAAAAO2dQW/bNgBG7wHyH3IfClCyFNtH145RoKg3OC269pa1Pa1dB6yX/ftZ
tGRRFT9Kjmh9nv29w7bOopLyjYpkvtXGmLsOUpOkJjcTk01MOn3zdvH7b28f
k/uuYeI53N4kxiwWJp9YLx8++A4qX19+//b301//4pPtze2sFX9PTLLoO3C9
yQuKg8shi+Xy13ebt4cjknT3fZo0m5nduSdZfj+dzcv/lNIXz/mNt9kEOepM
9vfk/xr1XFez9NOpb2/SYuaqo/rP/ixJkruHu+XTty9f/3j69Ofd9vMx33SL
x0/ff/z45/PT1y8/vbD4OMvT3H537x4HfYn/B4WRVEbOiJ2RxDSMfNxdHcyL
3cWhPuhwFaovLqFzrh9Wvb52knQfc31AI4kz6bWRJJn4fZjiMt95i9BERny0
jKwfAmvE+3O/xeP7fl9bRnxgI5P6oCON9MXIiAdsJKsPkpERwUby+iAZGRFs
xHkkl5ERgUa891r9jCxMMukz2frJ7gPd/SbprD5Ia2RE8FVrWh8kIyMC10im
NcLh9iY3nU+IEOOSzoq//tL4dz/9qu939bxRlwE2MgkPtJgsdabO/kJGBoKN
ZOGBFnPvGrmXkQhgI3l4oMUkWV5Pnf2FjAwEG+mzaSsj8cFGpuGBFtNGRgYC
jSR9Njt2K8mdu3sZGU7LiG8PEe4cNpdHLiMR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9RrpO4kq6E7EvmmUkfNhvz+yCj+POE1jdXEJnVNN4xCgEdA0
pmoaT0zLiJpGMtiImkYO2IiaRg7YiJpGDtiImkYO0IiaRhLo7ldNIwt81VLT
yAGuETWNJPb7Ix1PiJDGPoaaxihgI2oaOWAjaho5YCNqGjlgI2oaOWAjaho5
QCNqGkm0jHibRrRz2FweahpjAI00msbwzmGFmsYYICNqGllAI2oaSeybxlU4
L6nmRk3jCNimcdnRNC6f2zT2HWibRmPHLi+8aVz2ahqXzhrpO4kq6E6EbRpl
5Iyw+yPLY5pGo6bxpEAj/qbxPs/UNJ6WlhE1jWSwETWNHLARNY0csBE1jRyw
ETWNHKARNY0k0N2vmkYW+KqlppEDXCNqGknY/ZGuJ0RIYx9DTWMUsBE1jRyw
ETWNHLARNY0csBE1jRywETWNHKARNY0kWkZA0+jfOWwuDzWNMYBG3DXSsXNY
oaYxBsiImkYW0IiaRhK2aVyqaTwfbm/mLv6DDkJSV4iMnITbm/8AyoWcJGyb
AQAA;CHUNKID==0;");

    nca_java_action("BLOCK_BEAN_UPLOADER_0", "UPLOADEND", "");

 






after replaying with that code i got a run time error:

[code]

 

PTS_IMPORT.c(300): Error: C interpreter run time error: PTS_IMPORT.c (300):  Error -- memory violation : Exception ACCESS_VIOLATION received.
PTS_IMPORT.c(300): Notify: CCI trace: PTS_IMPORT.c(300): nca_java_action(0x034a66bc "BLOCK_BEAN_UPLOADER_0", 0x034a666a "CHUNKDATA", 0x034a6647 "CHUNKVALUE=={FileCode};CHUNKID==0;")
.
PTS_IMPORT.c(300): Notify: CCI trace: Compiled_code(0): PTS_IMPORT()
.
Notify: Transaction "04_Click_PTSImportStartButton_PTS" ended with "Stop" status (Duration: 0.8570 Wasted Time: 0.0037).

 


and sometimes this error instead:

 

error: An exception was raised while calling invocation function in interpreter extension cciext.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION.
Error: Exception was raised when calling event-notify Vuser function in extension lrwreplaymain.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Error: Exception was raised when calling abort-cleanup function in extension lrwreplaymain.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Error: Exception was raised when calling abort-cleanup function in extension trans.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION
Error: An exception was raised while calling action_logic_call_vuser_end function in extension runlogic.dll: System Exceptions: EXCEPTION_ACCESS_VIOLATION.

 


the script works fine with 50kb and less files

what causes this and how to fix it?

regards

HP Expert
Shane_Evans
Posts: 153
Registered: ‎04-08-2010
Message 2 of 3 (766 Views)

Re: How to Upload large file- oracle web app protocol

Have you tried calling Support?

 

Shane Evans

Product Manager - HP LoadRunner
www.hp.com/go/loadrunner
Occasional Visitor
alsaif
Posts: 2
Registered: ‎06-06-2012
Message 3 of 3 (753 Views)

Re: How to Upload large file- oracle web app protocol

Yes. they are still looking into it.

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.