Performance testing of call with insertion of million records
Is there a way to do some testing where you test endpoints that pull million record from an api and do a bulk insert into a db. How would I add a performance test on this? Aside from calling the endpoint directly to test. I want to simulate or mock the data objects as well.
5 Replies
⌛
This post has been reserved for your question.
Hey @Kale Vivi! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./close
or theClose Post
button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
well, the question is what you want to test
Do you want to test the actual DB performance?
Do you want to test the part processing the data before sending it to the DB?
something else?
processing the data before sending it to the DB. I think the bottleneck is in the processing
in a production system, you can use something like JFR to find out whether that's actually the bottleneck
for actually measuring that, just mock the repository or whatever
and run it with the mocked repo
💤
Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping
.
Warning: abusing this will result in moderative actions taken against you.