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

Cloud testing: failed to create new deployment #343

Open
dmlemeshko opened this issue Nov 30, 2022 · 0 comments
Open

Cloud testing: failed to create new deployment #343

dmlemeshko opened this issue Nov 30, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dmlemeshko
Copy link
Member

Looks like payload for /api/v1/deployments has been changed and we are getting error:

12:40:00.539 [INFO ] httpClient - createDeployment: Creating new deployment
12:40:01.053 [INFO ] httpClient - createDeployment: Request completed with `Bad Request 400`
12:40:01.056 [ERROR] i.g.a.Gatling$ - Run crashed
java.lang.RuntimeException: Expected field 'id' in '{"error":"BadRequest","msg":"Invalid content type","ok":false}'
	at spray.json.lenses.package$.unexpected(package.scala:34)
	at spray.json.lenses.package$ValidateOption.getOrError(package.scala:68)
	at spray.json.lenses.ScalarLenses$$anon$1.$anonfun$retr$2(ScalarLenses.scala:31)
	at scala.util.Either.flatMap(Either.scala:352)
	at spray.json.lenses.ScalarLenses$$anon$1.$anonfun$retr$1(ScalarLenses.scala:31)
	at spray.json.lenses.LensImpl.tryGet(Lens.scala:46)
	... 23 common frames omitted

As alternative, it is possible to testing existing (manually created cloud deployment) before fix is made.

@dmlemeshko dmlemeshko added the bug Something isn't working label Nov 30, 2022
@wayneseymour wayneseymour self-assigned this Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants