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

No report generation in case of: tc 'requestNameOrId' --report html #1234

Closed
franky1964 opened this issue Jul 25, 2023 · 12 comments
Closed

No report generation in case of: tc 'requestNameOrId' --report html #1234

franky1964 opened this issue Jul 25, 2023 · 12 comments
Labels
feature request New feature or request Priority Implement this asap

Comments

@franky1964
Copy link

franky1964 commented Jul 25, 2023

Your Team Size Using TC:
Expected team size is: 10-15

Question:
I found a confusing behavior concerning report generation functionality:

1. Command: tc --fol ThunderClient_01 --report html
Report is generated

2. Command: tc --reqlist 10829209-5bf0-4d24-aab3-0061d6462d7e --report xml,html
Reports are generated

3. Command: tc getAllVersion_1 --report html
No report is generated
(I would expect the reports to be generated as well)

Is this a bug?
(if it is a missunderstanding from my side would it be possible to implement this as new feature)

@franky1964 franky1964 added the question Further information is requested label Jul 25, 2023
@rangav
Copy link
Collaborator

rangav commented Jul 25, 2023

Hi @franky1964 reports are only available for collection, folder or reqlist only. So not available for individual requests.

It's not a bug.

if you want reports for request then use command --reqlist

@franky1964
Copy link
Author

Hi @rangav,
ok, my workaround would be to use the switch "--reqlist" with a single 'reqId' but unfortunately I dont know these ids.
Automatic or manual scanning the output of "tc list" is not my favorite solution.
Do you have any other proposal?

@rangav
Copy link
Collaborator

rangav commented Jul 25, 2023

tc list 'colName' will list all the request ids

what is your suggestion?

@rangav
Copy link
Collaborator

rangav commented Jul 25, 2023

I can change to reqid or name for --reqlist also if that helps?

@franky1964
Copy link
Author

My proposal would be to support 'requestNameOrId' in option "--reqlist"

@rangav
Copy link
Collaborator

rangav commented Jul 25, 2023

good, will make the change in the next update.

@rangav
Copy link
Collaborator

rangav commented Jul 25, 2023

ETA this week.

@franky1964
Copy link
Author

I just found out that the report in case of using option "--reqlist" contains lines for the whole collection.
Would it be possible to reduce the content to the executed ones?

@rangav
Copy link
Collaborator

rangav commented Jul 25, 2023

Sure will look into it, if that's easy to make the change

@rangav rangav added Priority Implement this asap feature request New feature or request and removed question Further information is requested labels Jul 25, 2023
@rangav
Copy link
Collaborator

rangav commented Jul 31, 2023

This feature is implemented. Please update CLI to v1.4.6.

New Features

  • --reqlist will now accept name or id of the request
  • The HTML report will only show executed requests for --reqlist

See all features released
https://github.com/rangav/thunder-client-support/releases/tag/v2.10.0

Please let me know your feedback.

@rangav rangav closed this as completed Jul 31, 2023
@franky1964
Copy link
Author

Hi @rangav,
great, this works as expected.

Brgds
Frank

@rangav
Copy link
Collaborator

rangav commented Jul 31, 2023

Thanks @franky1964 for confirmation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request Priority Implement this asap
Projects
None yet
Development

No branches or pull requests

2 participants