What is this "Error" in JMeter results? - jmeter

I'm currently testing performance on my website and I got these many errors:
FYI, my web app is using Zend Framework (so LAMP) with Nginx as reversed proxy.

Please look into jmeter.log (%JMETER_HOME%/bin/jmeter.log) for error details.

Related

jmeter load testing tutorial for xmpp

I am new to jmeter, I have downloaded and install xmpp extension for jmeter, however am not able how can I use it. Can someone share tutorial of load testing or test plan for load test of xmpp server.
Thanks in advance.
EDIT
According to the BlazeMeter Contributes XMPP Testing Capabilities to Open Source JMeter Plugins Project
BlazeMeter has tested and verified that the new JMeter plugin works with the most common XMPP servers, like Smack, ejabberd, Openfire and HipChat.
Are you sure you installed the plugin along with dependencies correctly? The recommended way of installing JMeter Plugins and keeping them up-to-date is using JMeter Plugins Manager:
XMMP Set Plugin page contains example XMPP.jmx test plan.
There is no universal recipe of XMPP/Jabber testing using JMeter as there are different servers which require different configuration. Your best friend is jmeter.log file, it normally contains all the information on the cause of script error. If you are sure that details you provided in XMPP Connection Config and XMMP Sampler are correct but you are not getting the expected result - first thing you should do is looking there. If you will be reporting your problem via JMeter Plugins forum - first thing they will ask will be jmeter.log

What are websites or applications for practicing performance testing from home

I want to practice performance testing at home using some load testing tool like jmeter. Can anybody tell me some links of websites or applications on which I can practice performance testing by throwing load by load testing tool from home?
It is not a LEGAL way to conduct load/stress test on any live websites/web applications without the permission.
So, you can deploy your own sample application or download sample applications available online and deploy it in your local server like Apache HTTP server or Apache Tomcat etc.
From my knowledge, You can use WebTours sample application from HP LoadRunner as an application to put your load.
Download HP Load Runner community edition from here. free for 50 vusers for life time. You need to create an account in the website.
You can download the webtours application from the HP website (comes with Apache HTTP server, which acts as a Web server).
Setup WebTours as per the instructions here
Confirm the successful installation/configuration by accessing the application from the browser (similar to http://localhost:8080/WebTours). The app is about flight booking (though not in real time ;) ).
Now, you can use the WebTours application as an AUT (Application Under Test)
Either you can continue with Load Runner or download latest JMeter version (3.1 as of now)
JMeter tutorials:
Getting Started
Component Reference
Builiding a Test plan
For Load Runner, there is documentation available in the following link to start with:
http://lrhelp.saas.hpe.com/en/12.53/help/WebHelp/Content/WelcomeContent/c_Welcome.htm
There is community support available managed by HP.
Use the sample applications which ship with the tool
Take your choice of open source application, install them on servers you own, manage and control. Use these applications as targets.
You are welcome to use api.jmeter.ninja. I built it for that purpose. A more formal API declaration is on it''s way but you can start with
http://api.jmeter.ninja/example.html.
http://api.jmeter.ninja/objects.xml
http://api.jmeter.ninja/objects/${OBJECT}.XML
Where ${OBJECT} is taken from the objects.xml page.
Or swap xml for dot json for the same in Jason format.
Exercises/Tutorial is available at http://api.jmeter.ninja/jmeter.pdf
Currently I just use this service for my own training sessions. But I hope to make it more generally available in the near future. There a currently no automatic limits so please just use your common sense and don't run high at throughput for a sustained periods of time. Anything under a total 100k requests is no problem.
Only caveat is that service is provided on a best effort basis at this point. Any abusive/problematic users may be blocked without notice.

Web Connector to CodeIgniter Queue Troubleshooting

I am using Quickbooks 13 and the standard Web connector.
I am using CodeIgniter and the standard Class provided here:
https://github.com/consolibyte/quickbooks-php/blob/master/docs/example_codeigniter_web_connector/controllers/quickbooks.php
Web Connector runs and connects to the queue through the controller function provided above, but not every time. Web Connector will run multiple times and give the status that there is nothing in the queue and then with nothing changed it will suddenly connect and process.
I have implemented this now two different times with two completely different sites but with the same results.
Is this a standard problem? Is anyone else having this problem? What additional information would be helpful for me to provide to help me troubleshoot this?
Post your code.
Post the Web Connector log file.
Check your PHP error log for errors.
Without taking those steps, there's no way to troubleshoot this.

From jasmine-maven-plugin getting setOnopen Runtime exception

I am trying to implement jasmine-maven-plugin for my project.
In my project there are multiple separate web projects, I successfully integrate the above plugin in all of my web projects except one.
I have used HtmlUnit driver for all of my web projects but getting RuntimeException: Exception invoking setOnopen from WebSocket class for a particular web project, others are executing fine.
Instead of htmlunit if I use phantomjs driver then it is working seamlessly but for that I have to keep the phantomjs executable in my system PATH which is not go with the maven philosophy, I do not want to keep any separate executable in my system. Due to this I want to use htmlunit driver which is throwing the above setOnopen exception.
I did lots of google but not able to get any solution, if you have any insight on this issue please let me know. Thanks In advance.
If you want to avoid requiring phantomjs be installed separately you may want to take a look at these projects for some ideas:
https://github.com/qa/arquillian-phantom-binary
https://github.com/qa/arquillian-phantom-driver
And take a look at this forum discussion:
https://groups.google.com/forum/#!topic/phantomjs/yZj_ciH21pE
I've yet to have time to try this out myself but it sounds promising. Also, note that you don't need to have phantomjs on your system path. You can specify the location of the binary using the phantomjs.binary.path property. See the second example on this page which shows how to configure it using this property.
Hope that helps.

websockets and PHP basics and initiatives

I have to built a multilayer game using web-sockets. For this I have a a shared web server with Apache. Browser is not an issue I am building for modern browsers only.
I tried few example PHP and web-socket source code but no luck.
What do I need to do?
And also how to enable the PHP socket_create function? Already enables php_sockets extension in the php.ini and also the php_sockets.dll exists in the extension directory.
When I call socket_create function php says that this function is undefined.
Any kind of help is appreciated.
Thanks
It seems that the command prompt was using a different configuration file for PHP.
Apache (or from the WAMP's interface) uses a php.ini that is located at:
[WAMP_DIRECTORY]\bin\apache\Apache2.2.21\bin\php.ini
If you will open this file, you may notice that the line extension=php_sockets.dll is already commented out.
Unfortunately, the CLI or command line interface is using a different configuration file which is located at:
[WAMP_DIRECTORY]\bin\php\php5.3.8\php.ini
In order to resolve it, you should comment out the line extension=php_sockets.dll and save it. Run the program after to see if the websockets again are already up and working.
If you can guarantee WebSocket support in the browser then use Ratchet. It won't run within Apache, but as a separate process.
There are other options available too - see the realtime web tech guide.
Questions related to WebSocket + PHP have been asked a number of times on SO. I'd recommend doing a search for best solutions and known gotchas when using Apache, PHP + WebSocket. Here's are a couple of good starting question with some additional links in the answers:
Is native PHP support for Web Sockets available?
Efficient reloading data / pushing data from server to client

Resources