1

How can i do client side performance testing for ReactJS applications?

is there any similar kind in JMeter like true client protocol as in Load runner to test the ReactJS applications. Or any other approach with which i can test ReactJS applications.

2
  • When you say "client side performance testing", what would you actually like to test? Would you like to measure the performance of the application or identify bottlenecks from the front end perspective? Commented Jun 6, 2020 at 7:36
  • want to identify bottlenecks from front end. Commented Jun 7, 2020 at 5:25

3 Answers 3

1

You can use the lighthouse inbuilt functionality by Google Chrome. enter image description here

Sign up to request clarification or add additional context in comments.

Comments

1

JMeter by default doesn't have any TruClient like capabilities. It is when integrated with Selenium, it brings out certain other aspects of performance which are useful.

But in your case, I would highly suggest using React Developer Tools (chrome extension by Facebook) for all performance measurements related to ReactJS Apps. Once that is installed you would notice 2 additional tabs in Chrome's Dev Tools which will help you along for performance optimizations.

enter image description here

I would personally follow a 2 pronged approach for optimizations

  1. Measure performance for single users using React Dev tools, sit on them and optimize them
  2. Once single user performance is satisfactory, I would push load to backend using load testing tools (could be JMeter) and leverage React Dev tools once again to measure & address any client side performance issues when backend is loaded

Comments

0

As per TruClient documentation:

TruClient is a browser-based tool for creating scripts that can be used in load testing or monitoring web and mobile applications.

So it's not a "protocol", it is basically a headless browser.

If you need to assess client-side performance of your application using JMeter you can achieve the same via WebDriver Sampler which provides JMeter integration with Selenium browser automation framework.

You can install WebDriver Sampler using JMeter Plugins Manager

enter image description here

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.