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 for launch attributes #57

Closed
paulmwhite opened this issue Aug 2, 2020 · 0 comments
Closed

Support for launch attributes #57

paulmwhite opened this issue Aug 2, 2020 · 0 comments

Comments

@paulmwhite
Copy link

I would love to see support for launch based attributes, I couldn't see anything in the documentation, but having looked at the code I have attempted to supply attributes in reporterOptions, as below:

"reporterOptions": { "attributes": [ { "key": "environment", "value": "dev" }, { "key": "release", "value": "v0.6.0" } ] }

This appears to work for the initial launch, but then I start to see these errors:

Error: Request failed with status code 400: {"errorCode":4001,"message":"Incorrect Request. [Field 'attributes[].value' should not contain only white spaces and shouldn't be empty.] "} at /..retracted../node_modules/@reportportal/client-javascript/lib/rest.js:32:23 at processTicksAndRejections (internal/process/task_queues.js:93:5) Fail to finish test Error: Request failed with status code 400: {"errorCode":4001,"message":"Incorrect Request. [Field 'attributes[].value' should not contain only white spaces and shouldn't be empty.] "} at /..retracted../node_modules/@reportportal/client-javascript/lib/rest.js:32:23 at processTicksAndRejections (internal/process/task_queues.js:93:5)

Would be really helpful to see this feature working, if possible. 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