Contributions
Re: Check assertion for all test steps
Hi Chris, Thanks a lot for your response but I would really appreciate if you could help me to write the actual script as I am not a dev and I wouldn't be able. Here the info: SOAPUI project: STS_CompanyRetrieval SOAPUI TestSuite: Request_ErrorManagement Thanks a lot! Nadia605Views0likes1CommentCheck assertion for all test steps
Hi, wondering if it is possible to run a test case to check assertions for all test steps performed before, instead of adding the same assertion to all test steps. See below, I would need to add the same assertion for all those test steps: The assertion would be to check that each response contains the same data below in bold: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <InterConnectResponse xmlns="http://xml.equifax.com/XMLSchema/InterConnect"> <SchemaVersion>2.0</SchemaVersion> <InteractionControl> <MessageId>5050</MessageId> </InteractionControl> <TransactionStatus>completed</TransactionStatus> <WorkItem>N</WorkItem> </InterConnectResponse> </soapenv:Body> </soapenv:Envelope> Thanks a lot!631Views0likes3Commentssoapui assertion for timestamp format
Hello, I am new to this forum and also to soapui tool. I am trying to write assertions in soapui to validate some elements. I would like to write an assertion to validate that the timestamp returned in response has always the format as example below: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <InterConnectResponse xmlns="http://xml.equifax.com/XMLSchema/InterConnect"> <SchemaVersion>2.0</SchemaVersion> <InteractionControl> <MessageId>9000</MessageId> <Timestamp>2021-10-04T14:38:03.475Z</Timestamp> <InterConnectInteractionId>0010210024935197</InterConnectInteractionId> </InteractionControl> <Errors> <Error> <Code>10001</Code> <Message>Authorization failed</Message> </Error> </Errors> </InterConnectResponse> </soapenv:Body> </soapenv:Envelope> can you please help me in writing this assertion from scratch? Thanks a lot!663Views0likes2Comments