I have to run a load test of around 1 hour using jmeter which needs to be integrated with getstat api webrtc to collect audio and video streaming metrics for this duration.
Any inputs who has worked on similar framework??
I have to run a load test of around 1 hour using jmeter which needs to be integrated with getstat api webrtc to collect audio and video streaming metrics for this duration.
Any inputs who has worked on similar framework??
As per JMeter project main page:
JMeter is not a browser, it works at protocol level. As far as web-services and remote services are concerned, JMeter looks like a browser (or rather, multiple browsers); however JMeter does not perform all the actions supported by browsers. In particular, JMeter does not execute the Javascript found in HTML pages. Nor does it render the HTML pages as a browser does (it's possible to view the response as HTML etc., but the timings are not included in any samples, and only one sample in one thread is ever displayed at a time).
So if by "getstat api" you mean RTCPeerConnection.getStats() function the only way of obtaining it is using WebDriver Sampler which provides JMeter integration with Selenium browser automation framework. You can add another Thread Group which will kick off the real browser, collect WebRTC stats and store them into i.e. Sample Variables property, this way you will be able to add them into .jtl results file