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

Gatling performance test enhancements - HTTPS, path configuration, AWS SigV4 #3312

Merged
merged 3 commits into from
Sep 7, 2023

Conversation

dlvenable
Copy link
Member

Description

This PR adds a few new capabilities to the Gatling performance test. It adds:

New configurations:

  • Making requests over HTTPS instead of unencrypted HTTP - -Dprotocol=https.
  • Modify the ingest path - -Dpath=/my/path.
  • Sign requests with AWS SigV4 - -Dauthentication=aws_sigv4 -Daws_region=us-east-2 -Daws_service=osis.

This PR also includes some clean-up to the Gatling project.

Issues Resolved

Resolves #3308
Resolves #3311

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… 1 second. This is in line with other tests.

Signed-off-by: David Venable <[email protected]>
…he Gatling setup into constructors rather than static initializers. Resolves opensearch-project#3308.

Signed-off-by: David Venable <[email protected]>
@dlvenable dlvenable merged commit 3a3299c into opensearch-project:main Sep 7, 2023
25 checks passed
@dlvenable dlvenable deleted the 3308-gatling-https branch September 7, 2023 16:30
asifsmohammed pushed a commit to asifsmohammed/data-prepper that referenced this pull request Sep 27, 2023
…S SigV4 (opensearch-project#3312)

Adds Gatling configurations for using HTTPS and for configuring the target path. Resolves opensearch-project#3308. 

Increase the maximum response time for the SingleRequestSimulation to 1 second. This is in line with other tests. 

Adds AWS SigV4 signing in the Gatling performance tests. Also moves the Gatling setup into constructors rather than static initializers. Resolves opensearch-project#3308.

Signed-off-by: David Venable <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Gatling tests using AWS sigV4 signing Enable Gatling HTTPS support and path configuration
3 participants