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

Output or Print response or value of variable ( #1251

Open
dyardy opened this issue Mar 5, 2024 · 3 comments
Open

Output or Print response or value of variable ( #1251

dyardy opened this issue Mar 5, 2024 · 3 comments

Comments

@dyardy
Copy link

dyardy commented Mar 5, 2024

How best to get the results of api call and output to console/window to ensure the value is correct?

Here I want to see the value of @sessionid
Is this possible?

# @result
GET {{hostname}}/start_session
content-type: application/json
Authorization: Basic {{username}}:{{password}}

@sessionId = {{result.body.$.session_Id}}

(how do i see the returned value from @sessionid)

@stratosgear
Copy link

Yes! I am also missing a way to print or echo the value of @sessionid (or whatever other variable I might be defining) , just so that I can visually validate that I have to proper value before I continue!

@stratosgear
Copy link

Also I believe this is very similar to #1001

@stratosgear
Copy link

Does this help: #1001 (comment)

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

2 participants