Iām submitting the postman examples, however, errors returned in the āAdd a bookā request. However, the errors are referencing what I believe is a request that includes parameters - movies in the request which is not part of āadding a bookā.
{
āstatusā: āerrorā,
āmessageā: āYour collection failed one or more Postman tests. See the errors array for details.ā,
āerrorsā: [
{
ātestā: ā[add a book] has script in Tests tabā,
āmessageā: āCannot read properties of undefined (reading ālengthā)ā
},
{
ātestā: ā1. [skillcheck] Used POST as the request methodā,
āmessageā: āCannot read properties of undefined (reading ārequestā)ā
},
{
ātestā: ā2. [skillcheck] Used a query parameter called āmovieNameāā,
āmessageā: āCannot read properties of undefined (reading ārequestā)ā
},
{
ātestā: ā3. [skillcheck] Used a base URL variable called {{skillcheckBaseUrl}}ā,
āmessageā: āCannot read properties of undefined (reading ārequestā)ā
},
{
ātestā: ā4. [skillcheck] Set request auth to āAPI keyā & header to āstudent-expert"ā,
āmessageā: āCannot read properties of undefined (reading ārequestā)ā
},
{
ātestā: "5. [skillcheck] Used a JSON body with 'actorName; ",
āmessageā: āCannot read properties of undefined (reading ārequestā)ā
},
{
ātestā: ā6. [skillcheck] Set "favoriteActor" as a collection variable using pm.collectionVariables set(ā¦) in Tests tab scriptā,
āmessageā: āCannot read properties of undefined (reading āeventā)ā
}
]
}