App. Server gets down while running test using latest Jmeter 3.3 - jmeter

My app server gets down during load test using latest 3.3 version of jmeter, however works fine in older jmeter 2.13
Any idea, I'm not figuring out since I'm using the the same script in both of the versions.
I can notice, there is huge difference in response time.
The other thing, I notice is the Server Memory gets piled up, not gets free up eventually while running using latest 3.3 version of Jmeter.
Please throw some light on this issue.

Are you testing the exact same application with the 2 versions ?
Is it the exact same script ?
If yes, This can be explained by lot of improvements on performances done in JMeter between 2.13 and 3.3 particularly on embedded resources download.
If you’re using it then it’s the explanation:
https://jmeter.apache.org/changes.html

Related

How to upgrade WebSphere Application Server from 8.5.5.0 to 9.0 using command line?

I have WebSphere Application Server v8.5.5.0 installed on my machine and want to upgrade WAS to v9.0 without uninstalling the current version. How can i do that using the command line as after we successfully upgrade on local machine we need to upgrade WAS on Production Linux server as well. Can anybody help on this with steps?
You can install two versions of WAS side by side, that'll work fine. From there, you can migrate your profiles over using WASPreUpgrade and WASPostUpgrade; I use the steps here: Migrating a cell using the command line tools. Make sure to take good backups of your environment, in case you want to roll back or re-do part of the process.
The command reference for WASPreUpgrade and WASPostUpgrade are useful as well.
Personally, I'd also make sure you install the latest fixpack for 9.0 that you possibly can--each one resolves a bunch of possible bugs and pitfalls.

The selenium turned off running on the server

We have existing selenium tests in many projects but these were turned off
due to problems running selenium on the server. Selenium has been updated
a few times since then but it may be that the underlying problem is that
we were continually re-launching firefox.
i want to know if there is any other browser which i can keep running at backend and no need to open every time which sometime slow the server and at worse hang it.
please suggest some solutions.

Firefor Selenium IDE not recording certain websites

Im new to automated testing and im trying to record a particualr scenario using firefox selenium IDE (Fireforx version : 26 ans selenium IDE version : 2.5). A couple of days I was able to record and play that scenario. But when I try doing the same today, it does not record anything and all i see is a plain window (no commands). But google, wikipedia, gmail everything gets recorded fine. There are no changes to the application and it is the same. (imacros are able to record). I have tried reinstalling firefox, selenium IDE and even restarted my machine. Any help would be appreciated.
Thanks
Durga

Adding a Banner/Message to all Pages on Web Server

I have two web servers, Windows machines running Apache.
One is a backup of the other, so if one fails the other can be used instead.
Does anyone know if it's possible to configure Apache so it displays a small banner/message on each page it serves to say that the user is running on the backup server?
I did find a 3rd party module (mod-substitute-append http://code.google.com/p/mod-substitute-append/) that may have done what I wanted, but there appears to be no documentation for it, and when downloaded looks like it was written to be installed on a Linux machine.
Does anyone have any ideas I can try?
Apache 2.2 ships with mod_substitute: http://httpd.apache.org/docs/2.2/mod/mod_substitute.html
Apache 2.4 ships with mod_sed: http://httpd.apache.org/docs/trunk/new_features_2_4.html
From the documentation, mod_sed does similar things to mod_substitute_append (which I have used, on Linux). It might be worth grabbing an Apache 2.4 Windows binary and seeing how you get on.

Selenium RC too slow even for simple tests

Does anybody have any idea why Selenium RC server takes a long time to run tests? A simple test of just opening a webpage (php) and asserting the title takes an unforgiving 4 minutes!
The tests are being run on Ubuntu server and using headless (XFrame Buffer) Selenium RC server. Does the fact that XFrame Buffer is being used make a difference?
Another alternate to this problem is to use "Selenium" bundled within the PHPUnit package.
i have currently moved my code from using Testing_Selenium package to using selenium interface within PHPUnit.
I had a similar problem. Downgrading Testing_Selenium to 0.4.3 from 0.4.4 helped.
Is the web page local or remote? The simplest answer could be that you're connecting to a slow host, or the connection between client and server is slow.
Can you provide any more details about the server configuration that's running RC? As far as I have read Xfvb should be faster.
There's something about your environment that's causing this. We run a suite of about 700 tests several times a day, and most of the (sometimes very complex) tests complete in under 30 seconds. Our environment is Windows running in an EC2 virtual machine with everything on the same machine - database, browser, appserver, test scripts, and Selenium. We avoid some network delays that way, but the flip side is that we have heavy CPU and memory pressure.

Resources