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
JavaBot
JavaBot4w ago
This post has been reserved for your question.
Hey @Kale Vivi! Please use /close or the Close 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.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st4w ago
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?
Kale Vivi
Kale ViviOP4w ago
processing the data before sending it to the DB. I think the bottleneck is in the processing
dan1st
dan1st4w ago
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
JavaBot
JavaBot4w ago
💤 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.

Did you find this page helpful?