Creating a JMeter script with WebSocket messages from HAR network exchanges.
47 views
Skip to first unread message
Vincent Daburon
unread,
Feb 28, 2025, 4:24:00 AMFeb 28
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jmeter-plugins
Hi, To test the performance of a web application developed by a colleague, I used JMeter. The web application uses WebSockets to communicate votes (poker planning) between participants in the same session. With JMeter, it is not possible to record WebSocket type exchanges. I
added to the "har-convertor-jmeter-tool" tool in version 7.0 the
functionality to create WebSocket Connection and WebSocket Samplers to
READ and/or WRITE messages. With Chrome, open DevTools, Network tab : - Browse the application to create http(s) and ws(s) network exchanges, record the exchanges in HAR format. -
Then with the conversion tool as input: the HAR file and as output: a
JMeter script and an XML file with the exchanges visible in a "View
Results Tree". JMeter plugin to convert HAR file to JMeter script and record.xml file