My application under test sends the images stored in a folder to a server. I captured this activity using opensta. Opensta captured the above activity and the image was sent to the server.
However when i played back the captured script the image was not sent to the server.
While playback i got 200 Ok response for all the requests sent to the system (then also the image was not sent to the server)
I also started Wireshark both during capture and playback. Compared the results of the two and i was unable to find any difference between the two.
I dont understand why during playback the image was not sent to the server but while during capture using OpenSTA the image was sent to the server.
I have also handled the cookies part as per the instructions given in the OpenSTA portal.
The size of the image i am trying to send is only 48 KB.
Can anyone help me out on this?
Re: Image upload
For every run if the name or id of the image get changed, then the image will not be sent to the server as expected.Check by downloading the response whether the image given to post url is same as the image in response..