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

support optional request/response pairs for web service testing #27

Open
ericdriggs opened this issue Jun 27, 2023 · 3 comments
Open

support optional request/response pairs for web service testing #27

ericdriggs opened this issue Jun 27, 2023 · 3 comments

Comments

@ericdriggs
Copy link

ericdriggs commented Jun 27, 2023

Use case: api testing where may interact with multiple web services

request/response is the most useful information in debugging test failures, especially when can compare to previous success/failures

Should be supported in both hierarchy.xsd and events.xsd

Implementation:
separate properties as strings.
By leaving the request/response unstructured this supports any protocol and sub-division of data.

@whytox
Copy link

whytox commented Jan 2, 2025

Hi @marcphilipp I am going to implement this sort of functionality for a personal project, if you are interested and think that can be generally useful we can agree on a spec and I'll provide a PR.

I was thinking of tackling it by implementing an ad-hoc Contributor and a report entry handle logic on junit side (plus some frontend code eventually), just as you did for the stdout sources.

Let me know if you are interested.

@marcphilipp
Copy link
Member

I wonder if the existing data attachment support (backed by report entries in JUnit) isn't sufficient and only needs to be documented for this use case. WDYT?

@whytox
Copy link

whytox commented Jan 2, 2025

I guess you are right, I can try attachments first and see how good they fit for this application. Thank you 👍🏼

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

3 participants