Skip to content
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

Create stress/load test which should cover all APIs with mocked OP #360

Closed
yuriyz opened this issue Aug 7, 2019 · 3 comments
Closed

Create stress/load test which should cover all APIs with mocked OP #360

yuriyz opened this issue Aug 7, 2019 · 3 comments
Assignees
Milestone

Comments

@yuriyz
Copy link
Contributor

yuriyz commented Aug 7, 2019

Create stress/load test which should cover all APIs with mocked OP.

Right now OP can process ~100req/s. Last time I've stressed oxd, it had similar performance which obviously was due to OP. It would be nice to mock OP and then stress tests against mocked OP. In this case we can see real numbers of oxd code (without limit that comes from OP).

@yuriyz yuriyz added this to the 4.1 milestone Aug 7, 2019
@duttarnab
Copy link
Collaborator

duttarnab commented Aug 7, 2019

Do we need to load test using tools like jmeter and mock OP using mockito?

@yuriyz
Copy link
Contributor Author

yuriyz commented Aug 8, 2019

Yes to both.

  1. Basically we have to isolate oxauth-client client's creations. E.g. via OpClientFactory which should create TokenClient/UserInfoClient/RegisterClient etc.. And then just mock them during tests run. It should be isolated by guice under test.
  2. Prepare 2 jmeter scripts to run Authorization Code Flow and UMA protection use cases.

@duttarnab
Copy link
Collaborator

Closed by #365

@yuriyz yuriyz modified the milestones: 4.1, 4.2 Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants