The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:
Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> Radview WebLoad

Pages: 1
mcumming
Unregistered




Server not responding warnings
      #191047 - 02/01/02 12:32 AM

I've been running Webload tests where I get log window "Server not responding" warnings although my test server appears to have plenty of available CPU time and memory and appear to be responding quite quickly to the majority of the requests being made.
Only 1 or 2 http requests out of every 100 or so return this warning and they happen somewhat sporadically during my test run.

Has anyone else seen this?

I've even tried manually logging into my test server during test runs just as a sanity check and the reponse time is great.


Also, I've searched through the documentation and on Radview's site - does anyone know of a trigger type function you can call when a thread receives a warning message?
I don't mean the WarningMessage() function, which lets you raise a custom warning message, I need something that can tell me when one of my test threads gets a "server not responding" (or any other) warning so that I can handle that condition.
Something analagous to OnScriptAbort() but for warning messages.

Thanks,
Matt

------------------


Post Extras: Print Post   Remind Me!   Notify Moderator  
QAchick
Junior Member


Reged: 11/19/01
Posts: 21
Re: Server not responding warnings
      #191048 - 02/01/02 07:41 AM

The server not responding is a server error that comes from the server. Webload is just passing the information alongand it is not generated within webload. There is no way that I know of to script around the message coming from the server so you can put in your own functionality. Have you checked your server logs to see what is happening when your test chokes with webload? I would put in some InfoMessages() into your script to see where it is choking and proceed from there.

------------------


Post Extras: Print Post   Remind Me!   Notify Moderator  
mcumming
Unregistered




Re: Server not responding warnings
      #191049 - 02/22/02 02:30 PM

I have lots of InfoMessage() calls in my scripts but I didn't realize that that message was coming from my server - it could just be a bug/bottleneck in my app, I'm still working on determining what exactly is happening.
Thanks for the tip,
Matt

------------------


Post Extras: Print Post   Remind Me!   Notify Moderator  
cjeans
Junior Member


Reged: 03/27/02
Posts: 6
Loc: Atlanta, GA
Re: Server not responding warnings
      #191050 - 04/02/02 05:47 AM


I think the "server not responding" is basically a server timeout.

How is the server doing? Even though your WebLoad script seems to work most of the time and your manual browser test is ok, your server could still be having problems. I have seen response times and server not responding messages because of periodic queuing or very high context switching on the server.



Post Extras: Print Post   Remind Me!   Notify Moderator  
mcumming
Unregistered




Re: Server not responding warnings
      #191051 - 04/02/02 01:04 PM

Thanks for the input cjeans, I'll check those metrics in the next set of tests that I run.
I'm just wondering why I can never reproduce this manually (with a browser) while a test is running.

------------------


Post Extras: Print Post   Remind Me!   Notify Moderator  
cjeans
Junior Member


Reged: 03/27/02
Posts: 6
Loc: Atlanta, GA
Re: Server not responding warnings
      #191052 - 04/02/02 03:39 PM

I think you would be able to reproduce it manually with a browser if you happen to make one of those 1 or 2 requests of 100. Keep trying!!

If you get the error manually, make sure to play the lottery as well!

Regards!


Post Extras: Print Post   Remind Me!   Notify Moderator  
Phil Hollows
Member


Reged: 06/26/00
Posts: 133
Loc: MA, USA
Re: Server not responding warnings
      #191053 - 04/03/02 06:44 AM

Just because your server CPU isn't being stressed too much doesn't mean it can handle all the incoming requests. For example, some web servers have a finite pool of threads that can handle requests. Other inbound requests will have to wait until a thread in the pool frees up. Servicing requests may not be too demanding on the machine but still take time. If the pool size is, say, 10 (and some servers have very low default pool sizes), then by the time the server gets around to servicing the 100th thread that thread might have timed out.

You'll probably find that tweaking the web server's configuration will help (check the size of socket, thread, process and other shared resource pools -- if you make a change you'll probably have to restart the server). If the host server were stressed then this tactic wouldn't work (for what I hope are obvious reasons). If there's an application or database server around make similar checks on these systems too.

One other thing to check: it might be possible that you're getting a timeout becuase the WebLoad load generator is too stressed. Just make sure that when you're running the load session that your load generator itself ahs enough CPU headroom and is not using more than its physical (not virtual / swap) RAM.

Phil

------------------

[This message has been edited by Phil Hollows (edited 04-03-2002).]

Post Extras: Print Post   Remind Me!   Notify Moderator  
cjeans
Junior Member


Reged: 03/27/02
Posts: 6
Loc: Atlanta, GA
Re: Server not responding warnings
      #191054 - 04/03/02 07:59 AM

Great comments Phil!

I actually got that message because we were pushing our T1 too hard. So make sure your network can handle the load as well.

Post Extras: Print Post   Remind Me!   Notify Moderator  
Phil Hollows
Member


Reged: 06/26/00
Posts: 133
Loc: MA, USA
Re: Server not responding warnings
      #191055 - 04/05/02 11:19 AM

Good point on availble network bandwidth -- thanks. I think to be fair the "Server not responding" message is coming from WebLoad, but what it's doing is reflecting a low level socket timeout error message from the OS. It's certainly not a message the server is somehow sending to the client -- it indicates that the client has been unable to communicate correctly with the target server in the time frame. It can be confusing, I agree.

Also worth pointing out that cjeans and my comments on bottlenecks are independent of WebLoad - they would apply to any other load tool encountering this situation too.

FWIW

Phil

Post Extras: Print Post   Remind Me!   Notify Moderator  
Ziggy1
Newbie


Reged: 01/23/08
Posts: 3
Re: Server not responding warnings [Re: QAchick]
      #523906 - 10/13/08 10:13 AM

I've been having this message, too.

Instead of coming from the destination server, it appears to be an issue with the proxy server (TestTalk) and relates somehow to "Authentication failing".

The proxy server does not pass the default authentication that Internet Explorer passes when challenged.

Unfortunately, there are three separate fields for authentication (all settable from same dialog box):

Under Global Authentication Settings:
(1) UserName
(2) NTUserName

Under Proxy Authentication Settings:
(3) ProxyUserName

Unfortunately, that leaves 7-permutations (using the above three fields) to try to figure out which if any of these need to be set properly. I created a ServiceUser account on the target machine to be authenticated -- and have tried all 7 possible permutations of applying that User to the fields. No luck.

Funny thing, this used to work.

Moan!


Post Extras: Print Post   Remind Me!   Notify Moderator  
Ziggy1
Newbie


Reged: 01/23/08
Posts: 3
Re: Server not responding warnings [Re: Ziggy1]
      #523934 - 10/13/08 11:22 AM

Update!

RadView appears to be doing a bait-and-switch with their concept of "open source" for WebLoad. (http://www.testingreflections.com/node/view/5922)

The NTLM network authentication module is crippled in the OpenSource flavor (so RadView can upsell their working flavor -- their Professional flavor of WebLoad) -- so you'll just spin your wheels thinking it will work (based upon the dialog boxes.) (Although, I swear it WAS working for me at one time, so it may be enabled intermittantly in their Open Source flavor.)

Instead... expect to see "SERVER NOT RESPONDING" errors to disguise their deprecated OpenSource flavoring!

I'm beginning to wonder if their strategy is to simply get the openSource developers to kick-in code for free so they can use it in their profession version, smack against the concept of an OpenSource license.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:  AJ 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1702

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5