File upload functionality giving errors when recording at JMETER

Hi,
I was trying to record an application flow in JMeter, where one action is to upload an excel file on to server.

When i was trying to do it from JMeter after changing configuring JMeter's proxy port, the server responded with 'System Error'.

When doing the same action while not having proxied by JMeter, the functionality was working fine.

Does any one have any idea on how to record such actions of file-uplaod in JMeter.

Upload file in JMeter

Put the file to be uploaded in the JMeter bin directory and it should work. Let me know if doesn't and include the detailed error message

FileUpload Jmeter Jmagick

am uploading my file from bin dir. only..
see , in my WebApplicaztion there ,, image file is converting into multipart/form-data
and one tmp file is getting upload in jetty AS.
now again that .tmp file is not converting into actual image file ..
which is going to store in a special folder in AS....

What i m thimking problem is with Jmagick compression tool,,
so, what i had done is....
copied jmagick.jar file in Jmeter CLASSPATH.

If u can suggest me in any way ..

Actually, i have upload file in sample Application
Without Jmagick , and there it was gettiing uploaded very well...
Error message comming in Jmeter Consoile:::
***********************************
Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Inde
x: 1, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.j
ava:157)
at javax.swing.JTable.getValueAt(Unknown Source)
at javax.swing.JTable.prepareRenderer(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
at javax.swing.plaf.ComponentUI.update(Unknown Source)
at javax.swing.JComponent.paintComponent(Unknown Source)
at javax.swing.JComponent.paint(Unknown Source)
at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
at javax.swing.JComponent._paintImmediately(Unknown Source)
at javax.swing.JComponent.paintImmediately(Unknown Source)
at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
**********************************************

BestRegards
Sidhikaran

help me regarding Jmeter JVM_ARGS

Where i have to write the JVM_ARGS=-Djmagick.systemclassloader=no

i have tried writting the same parameter in Jmeter Batch file . but no result
and How can i know whether Jmeter has accepted my JVM_ARGS or not.

BestRegards
Sidhikaran

2 ways

1) set the JAVA_OPTIONS environment variable equal to -Djmagick...
2) edit the jmeter.bat file (or .sh) and add -Djmagick... before -jar

You can verify whether the option was accepted by using the jinfo command with -flags option