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

added "waitForTestDoneEvent" #25

Closed

Conversation

mbrunn
Copy link

@mbrunn mbrunn commented Apr 27, 2021

Will wait for a Test Done Event and returns the start- and endTime of the Testrun.
This can later be used to trigger a evaluation process for the timeframe of the test.
=> facilitates the Performance Testing as a Service Use Case
Logical usage:

  1. trigger performance test (run by keptn) for example: JMeter Test
  2. Wait for TestDoneEvent
  3. Take timestamps from step 2 and start an evaluation for this timeframe

This feature solves the rootproblem of #24

perftesting1
perftesting2
perftesting3

Will wait for a Test Done Event and returns the start- and endTime of the Testrun.
This can later be used to trigger a evaluation process for the timeframe of the test.
 => facilitates the Performance Testing as a Service Use Case
 Logical usage:
  1.  trigger performance test (run by keptn) for example: JMeter Test
  2.  Wait for TestDoneEvent
  3.  Take timestamps from step 2 and start an evaluation for this timeframe

Signed-off-by: Brunner, Michael <[email protected]>
@mbrunn mbrunn force-pushed the feature/waitForTestDoneEvent branch from c8b7181 to d5218cc Compare May 5, 2021 09:15
@christian-kreuzberger-dtx
Copy link
Contributor

Hi and thank you for your contribution.

With Keptn 0.8.x we introduced Shipyard files, where you would specify a test step followed by an evaluation step.

Our Shipyard implementation will automatically take the test.finished (e.g., from jmeter) event and fill the evaluation.triggered event with the appropriate timestamps.

@mbrunn
Copy link
Author

mbrunn commented Oct 18, 2021

Hi Christian,
thanks for the reply.

In my specific case no shipyard-file has been used. Hence the need for this functionality. This way it was possible to rely on one pipeline (jenkins) only and still use the keptn-jmeter-service.

Kind regards and greetings from Vienna,
Michael

@mbrunn mbrunn closed this Oct 18, 2021
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.

2 participants