Skip to content

Add Proof of Concept(POC) for Collection Runner and Performance Load Testing Features #817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tihom4537
Copy link
Contributor

@tihom4537 tihom4537 commented Apr 17, 2025

This PR introduces two major features to enhance API testing capabilities:

  1. Collection Runner
    Implemented a create collection option and collection runner that enables environment-aware execution of API test collections. This feature allows users to:

Execute collections with configurable test parameters (iterations, delays, selected requests)
Track real-time progress during test runs
View detailed results with 8 key metrics per request
Navigate seamlessly to analysis tools after completion

The collection runner is built with Riverpod for state management and follows a sequential execution model in this initial implementation.
2. Performance Load Testing
Added a powerful API load testing tool that simulates real-world traffic patterns to evaluate system performance under load. Key capabilities include:

Configurable virtual user counts and test durations
Intelligent ramp-up implementation to gradually increase load
Concurrent request simulation mirroring actual user behavior
Comprehensive metrics collection (throughput, latency, error rates)
Real-time calculation of performance statistics

These features significantly enhance our application's testing capabilities, allowing users to not only validate API functionality but also assess performance characteristics under various load scenarios.
Related Issues

Related #100

Checklist

I have gone through the contributing guide
I have updated my branch and synced it with project main branch before making this PR
I am using the latest Flutter stable branch (run flutter upgrade and verify)
I have run the tests (flutter test) and all tests are passing

Added/updated tests?

Yes

OS on which you have developed and tested the feature?
macOS

@tihom4537
Copy link
Contributor Author

Greetings @ashitaprasad, @animator,
I apologize for the delay in delivering this POC. I was involved in my college's technical fest, which took more of my time than anticipated.
Regarding the workflow builder canvas - I've completed the display component, but the execution functionality still requires additional work. I plan to submit that as a separate PR to keep the changes focused and easier to review.
Thank you for your patience and understanding.

@tihom4537
Copy link
Contributor Author

Hi @ashitaprasad , @animator ,
I just wanted to follow up on the PR I submitted two days ago regarding the Collection Runner and Performance Load Testing features. If you have any feedback or if there are any changes you'd like me to make to the current implementation, I'd be happy to address them.

@tihom4537
Copy link
Contributor Author

Additionally, I mentioned in my comment that I've completed the display component for the workflow builder canvas and is working on the execution engine of the workflow ,so was planning to submit them as a separate PR. Would you like me to proceed with creating that PR now, or would you prefer I wait until the current one is reviewed?
Thank you for your time, and I look forward to your guidance.

tihom4537 and others added 3 commits April 24, 2025 19:07

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants