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

logging summary of testcases #53

Closed
ghost opened this issue Feb 12, 2020 · 4 comments · Fixed by #55
Closed

logging summary of testcases #53

ghost opened this issue Feb 12, 2020 · 4 comments · Fixed by #55
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ghost
Copy link

ghost commented Feb 12, 2020

Hello again,

Is there a way to log to a file (JSON preferably)?
We need a summary of the test case results (along with the new timers) logged to a file in order to be visualized by another service.
It could be a very simple JSON with a
key: testresult and the value: [PASS] GET Latest Testresult (0.02 seconds)
it would be much nice if it was in lists though:

[
	{
		"case_name": "Get all",
		"verdict": "fail",
		"time": "0.50"
	},
	{
		"case_name": "Post testresult",
		"verdict": "pass",
		"time": "0.06"
	}
]
@aviaviavi
Copy link
Owner

Hey @Rashadse. That functionality doesn't currently exist in curl-runnings either, but it could be added.

@aviaviavi aviaviavi added enhancement New feature or request good first issue Good for newcomers labels Feb 12, 2020
@aviaviavi
Copy link
Owner

Just curious, are you trying to hook this up to your own internal dashboards, or another external tool? We've had requests for TAP (#13) and Report Portal (#41)

@ghost
Copy link
Author

ghost commented Feb 12, 2020

You could say it is technically internal tool. But it is our own elastic search cluster that is visualised by kibana.
Logging to the json file would save us a lot of parsing work with regx or grok.

@aviaviavi
Copy link
Owner

Got it, thanks for that info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant