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

Teamcity "Performance Metrics Calculation" can't detect fail test #32

Open
mehrdad2000 opened this issue Aug 28, 2023 · 1 comment
Open

Comments

@mehrdad2000
Copy link

Hi

Teamcity show all test pass while only one of them pass

Here is my test result text file, only respcode 000 means pass any other respcode failed:

IMG_8974

Here is Teamcity "Performance Metrics Calculation"

IMG_8973

Any idea?

Thanks

@mehrdad2000
Copy link
Author

After several workaround find solution, need to reorder column like this:

awk -F "\t" 'BEGIN {OFS = FS} {print $1,$2,$3,$4,$8,$5,$6,$7,$9,$10,$11,$12,$13,$14,$15,$16,$17}' temp-report.jtl > report.jtl

from this:
timeStamp elapsed label responseCode responseMessage threadName dataType success failureMessage bytes sentBytes grpThreads allThreads URL Latency IdleTimeConnect

to this:
timeStamp elapsed label responseCode success responseMessage threadName dataType failureMessage bytes sentBytes grpThreads allThreads URL Latency IdleTimeConnect

then enable "assertions fail the build if any assertion check fails" on teamcity "Performance Metrics Calculation"

Thanks

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

No branches or pull requests

1 participant