Unanswered question

WebResource file failed during load test

Hi Team

for my userpath it creates multiple webresource file . whenever i check that userpath with dynamic data resource file passed but when i do load test with same set of dynamic data it fails .. Any reason why it is and how to resolve it ?

MAHIMA A.
MAHIMA A.

MAHIMA A.

Level
0
78 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

What kind of errors do you get about those resources when you are running your test?

Does it happen after a specific load? Try to identify if it's related to a specific login or if it happens whatever the login used.

MAHIMA A.
MAHIMA A.

MAHIMA A.

Level
0
78 / 100
points

its give code 404 error code. is it okay to disable them for testcase scenario ?

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

No, not without understanding why you get the 404. Did the 404 happen during recording too or just playback? you can check this by doing a compare on the checkVU screen. Disabling without understanding the cause is like painting over a crack, you are masking an issue

MAHIMA A.
MAHIMA A.

MAHIMA A.

Level
0
78 / 100
points

I checked when i check userpath it also fails . Strange is it fails sometime and sometime not. Is there anyway we can make make this webresource.axd more dynamic . Neoload is extracting that from recodring but still its not dynamic ... anywork around?

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

I would check what this file does, does it contain anything you extract and use in later correlations. If it serves no purpose you could disable it. It sounds strange it sometimes works and sometimes not.

MAHIMA A.
MAHIMA A.

MAHIMA A.

Level
0
78 / 100
points

what i suspect is it is related to time bound ... i.e. if i create testcase today and run it .. it runs successfully today . But tommorow onwards it start fails ... its same as scriptresource.axd file

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

If that is the case, one of the parameters you pass in to request to download it may be a timestamp, you could parameteise this with a date variable (current time in millis)