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

API Validation: Post /shells 3rd API Call #45

Open
juileetikekar opened this issue Jul 23, 2024 · 0 comments
Open

API Validation: Post /shells 3rd API Call #45

juileetikekar opened this issue Jul 23, 2024 · 0 comments
Labels
API Issue related to API validation branch_improve_api_tests Issues related to development branch "improve_api_tests""

Comments

@juileetikekar
Copy link
Collaborator

In case of API validation "Asset Administration Shell Repository API", the test-engine triggers POST "/shells" API call consisting of request body attached in the end. The request body consists of "EmbeddedDataSpecifications" as below:

image

The serialization of DataSpecification is treated as an array instead of an object and it consist of null content which unexpected. Even though above the serialization of "dataSpecification" is invalid, the test-engine expects 2xx (success), instead of 400 (BadRequest) from the server.

RequestBody:
request_body.json

Screenshot of test-engine result for this API validation:
image

@juileetikekar juileetikekar added API Issue related to API validation branch_improve_api_tests Issues related to development branch "improve_api_tests"" labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issue related to API validation branch_improve_api_tests Issues related to development branch "improve_api_tests""
Projects
None yet
Development

No branches or pull requests

1 participant