How to use jmeter with Jetty WebSockets?
I mean can i perform a load-test on websockets using jmeter?
Is there any alternative tool other than jmeter to perform load test on jetty web sockets?
Here is an alternative WebSocket plugin for JMeter supporting RFC6455 version of the WebSocket.
Hope it would come useful: http://github.com/maciejzaleski/JMeter
Looks like you can at least try this one: jmeter-websocket - jmeter plugin for WebSocket protocol.
There is an alternative tool which is dedicated to do load testing on websockets. It is named as Thor.
Thanks to the developers for making it simple, light weight and opensource.
EDIT:
Thor seems to be a bit outdated. There is this giant called Gatling.
They have a powerful and highly customizable engine. You have to write some basic coding with Scala to get this thing up and working. But this is reliably easy and their documentation is quite simple.
There are forums for help too.
Related
I'm a newbie in Elm-lang and am writing a program that requires the backend to consume messages from rabbit. I was mainly programming using Elixir before and all the other languages I used had open source rabbit clients. I wonder if there is one for Elm since I couldn't find any on github.
If there isn't one, what's the recommendation for solving this problem? Shall I switch to use web-socket or use frontend to get messages? I was also looking into using haskell servant like this but it seems to make things complicated: https://github.com/haskell-servant/example-servant-elm
This project has probably long since been finished but RabbitMQ can also use the mqtt protocol which is much more widely used by frontend languages and frameworks. Maybe something like this would work:
https://github.com/Jwsonic/elm-mqtt
I am trying to load test a specific port of a server. I need to login to the port with some content. I have been looking at Apache Bench as it but havent found a way of doing this. Any help or advice on other similar tools would be appreciated. Thank you.
Check out Apache JMeter - it is way more advanced multiprotocol load testing tool which even has record-and-replay capability via built-in HTTP(S) Test Script Recorder.
JMeter is GUI-based so no programming languages knowledge is required.
See Logging in to a web-site user manual chapter to get the overall idea.
If you find JMeter a viable alternative to Apache Bench I would recommend attending free JMeter Academy - probably the fastest and the most efficient way of ramping up on JMeter.
Can someone please suggest me any tool that can be used for Mobile App load testing build in MobileFirst Platform 7.1.
This is a really good article to use JMeter for performance testing of Adapters:
https://mobilefirstplatform.ibmcloud.com/blog/2015/12/20/mfp-performance-testing-session-independent-mode/
They even provide the files at the end of the article.
Load testing for the application? Surely you mean the server/adapters...
For this you can use a tool such as jMeter to simulate a large amount of adapter requests to the server and see how your setup behaves.
everyone
do you think nodeJS suit for the web UI automate testing?
I don't think so.
first, nodeJS base on V8 engine, so how to test the issue on IE6-8?also how about other
no web-kit based browser?
second, what's nodeJS suit for?
What are you talking about? NodeJS is designed for writing SERVERS, not clients. It has nothing to do with browsers.
Imho NodeJS is the best choice for writing high traffic web servers. Also together with websockets it is also very good choice. And it is the future of web designing since the unification of language used in client's side and server's side.
You can use nodeJS to connect to Selenium and do automated UI tests, Soda (https://github.com/testingbot/soda) supports this.
If you want to use a node.js based headless browser to automate UI tests, check out zombie.js. If you want to create a UI test suite that runs against different browsers, I'd highly recommend selenium.
I am looking for a tool capable of generating multiple Xmpp connections to load-test a XMPP server with a secure connection, especially starttls.
For a xmpp plain text authentication I had used jab_simul(followed this tutorial) and tsung both with success.
But I was unable to use the tolls above for the starttls,I peeked into the code of both tools and tried different configurations of the tools.
Another option I am pondering is using a xmpp library like eXmpp and make a specific load-testing tool myself with, instead of altering jab_simul (C software with comments in language i do not understand) or altering tsung(all purpose load-testing tool, so lots of place where you can go wrong).
short-story - I am looking for a tool or advice to stress-testing/load-testing a xmpp server.
We are facing exactly the same challenge right now. After deep consideration we found out that only especially build software can deliver the load we want to test. (Remember, you can configure ejabberd to something very specific :-)
For that we developed a small library called xmpp_talker https://github.com/burinov/xmpp_talker (Apache Licence) which is a kind of xmpp client made as a gen_server. I find it is a very nice starting point to build any kind of load simulation software. There is also echo_worker example included. So, you have good base to start. At the moment xmpp_talker is suited for exmpp 0.9.7. As far as I know in a few days will be out version 1.0.0. (or 0.9.9?) There are many bug fixes (trust me you don't want to know about them). On monday I will release xmpp_talker for exmpp 0.9.8 with proper service interruption handling.
In case you deside to go the same way xmpp_talker could be useful for you.
Added: Here is also great article that is realted to the topic: https://support.process-one.net/doc/display/EXMPP/Scalable+XMPP+bots+with+erlang+and+exmpp
There's also the recently started XMPP benchmarking project called xmppench which aims to be a high-performance benchmarking tool simulating some reasonable use cases of XMPP servers. It's written in C++, based on Swiften and boost.