Forum Discussion

baba_k's avatar
baba_k
Occasional Contributor
13 years ago

Getting unexpected response codes301/302 during replay

Hi..

We are doing Load test on a a simple web application using test complete. We are getting the response codes as 301/302 instead of 200 during replay of the script for a single user load.

User actions include

->Open application in IE/7

->Login

->Navigate to a specific page

->Search for specific record by entering filter conditions

-> Go to homepage

->Logout



We recorded the script by clearing browser cache , we are unable to find out the reason behind this issue.

please help us in over coming this issue



Thanks and Regards,

Baba


2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    It sounds like the URL location of some of your components you're downloading has changed, perhaps in a new directory structure or something.  In some of my load testing I've done in the past, I got the same kinds of responses.  Normally, this is not a problem because it simply means the user was redirected to the correct URL, at least that was my experience. YMMV (Your Mileage May Vary)
  • Hi Baba,



    If the actions you specified are recorded as separate tasks, you should probably arrange them into a single complex task to make TestComplete store cookies between tasks. Also, in addition to Robert's post, I recommend that you see the Load Testing Troubleshooter help topic.