Skip to content

Load Testing Single Page App (react) #302

Closed Answered by rschwietzke
srcd4 asked this question in Q&A
Discussion options

You must be logged in to vote

As mentioned before, React-based sites are heavily in JS and custom rendering, hence when you don't have a full blow real browser, you don't get what you want. The load test strategies are:

  • Move to the full browser load test suite and use a real browser for load testing. You need more hardware to scale the test later, basically you write a standard functional automated test and later scale it up and let XLT orchestrate that as well as measure
  • You avoid the rendering mess and focus on the delivery of the information, aka you run a pure API test. You "play" React and JS by just fetching data using POST and GET for instance.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@srcd4
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by srcd4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants