|
Name |
Function |
Signature |
Date |
Author |
|
|
|
2025-Apr-08 09:13 GMT |
Reviewer |
|
|
|
|
Approver |
|
|
|
|
Tester |
|
|
|
|
Introduction
Purpose
This document's (TestDocIdD) purpose is to test the App/Product Name,
according to the detailed specifications defined in
the 'App/Product Name' Design Requirements Specification (SpecDocId
-Rev SpecDocRev). It contains test procedures and related test
cases, and test results.
Scope
This Design Verification Procedure contains the System Testing activity as
specified in the 'App/Product Name' Design Verification Plan
PlanDocId
-Rev PlanDocRev.
References
The following table references related program documents:
Document Name |
Document Id |
Revision |
Design Requirements Specification |
SpecDocId |
SpecDocRev |
Design Verification Plan |
PlanDocId |
PlanDocRev |
Traceability Matrix |
TraceabilityDocId |
TraceabilityDocRev |
Definitions, Acronyms, Abbreviations
The following are the acronyms and abbreviations used in this document:
Traceability
Traceability between the requirements and test procedures is provided in
the 'App/Product Name' Traceability Matrix TraceabilityDocId
-Rev TraceabilityDocRev.
Configurations and Environments
The following configurations, along with specific environment details
required, are required for the test procedures:
Configuration |
Environment Details |
TBD |
TBD |
Setup and Initial Conditions
The following setup steps must be performed prior to executing the test
procedure:
Sequence |
Setup Instructions |
TBD |
TBD |
Test Equipment, Tools, and Data
The following tools are used during testing:
Name |
Version |
Intended Use |
Validation Evidence |
App/Product Name |
ProductVersion |
Verification (Test Automation, BDD testing) |
|
Design Output Under Test
App/Product Name-Rev SpecDocId
Test Procedures
Banking
[T-A994D235] Should create customer
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a bank
WebDriverEx(originalCapabilities=Capabilities {-x:class: org.openqa.selenium.remote...., -x:target: ${web.url}, -x:type: web, -x:url: https://oauth-adrian.herscu..., browserName: chrome, sauce:build: local, sauce:idleTimeout: 1000, sauce:maxDuration: 6000, sauce:name: Banking:shouldCreateCustome..., sauce:tags: functional,dev}, driver=RemoteWebDriver: chrome on windows (49cb084496844b19a519e188fbc873d4))
|
{-x:class=org.openqa.selenium.remote.RemoteWebDriver, -x:target=${web.url}, -x:type=web, -x:url=https://oauth-adrian.herscu-d81b6:524dbdcd-6577-4f9b-bec3-9fc4f193d487@ondemand.saucelabs.com:443/wd/hub, browserName=chrome, sauce:build=local, sauce:idleTimeout=1000, sauce:maxDuration=6000, sauce:name=Banking:shouldCreateCustomer:b091592a:27:1744103591358, sauce:tags=functional,dev}
|
|
|
2 |
Operation(s)
|
adding
Customer(firstName=kuku, lastName=bar, postalCode=12345)
|
|
|
|
3 |
Verification(s)
|
the customers
to match a sequence of following: [<is <Customer(firstName=kuku, lastName=bar, postalCode=12345)>>]
|
|
|
|
Stateful Rest
Tag |
Value |
Self Test |
|
REST Test |
|
[T-F4FDC402] Should authenticate
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:41033
|
|
|
|
3 |
and
|
appending path
authenticate
|
|
|
|
4 |
and
|
posting
jakarta.ws.rs.core.Form@d789c8b
|
|
|
|
5 |
Verification(s)
|
the response status
is <SUCCESSFUL>
|
<<empty>>
|
|
|
[T-2D432437] Should operate
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:41033
|
|
|
|
3 |
and
|
appending path
some-id
|
|
|
|
4 |
and
|
getting the response
|
|
|
|
5 |
Verification(s)
|
the response status
is <SUCCESSFUL>
|
|
|
|
6 |
and
|
the response contents
[a value greater than <0> <<<--->>> $[0].id, <2> <<<--->>> $[1].id]
|
[{id:1},{id:2},{id:3}]
|
|
|
[T-59A05B44] Should fail on authentication
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:41033
|
|
|
|
3 |
and
|
appending path
some-id
|
|
|
|
4 |
and
|
getting the response
|
|
|
|
5 |
Verification(s)
|
the response status
is <CLIENT_ERROR>
|
<<empty>>
|
|
|
Plain Test Ng
[T-371720F9] 2 checkNot
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Test scenario:2
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-48C0AF44] 3 checkFullAdder
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Test scenario:2
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Test scenario:3
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Test scenario:4
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-2F77C740] 1 shouldSucceed
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-DD79C4DA] 4 checkSinus
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Test scenario:2
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Test scenario:3
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Swagger Petstore
Tag |
Value |
REST Test |
|
Reference |
235 |
[T-644F1ADC] Should login
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a swagger petstore
|
|
|
|
2 |
Operation(s)
|
logging in with
Credentials(userName=kuku, password=123)
|
{"code":200,"type":"unknown","message":"logged in user session:1744103592946"}
|
|
|
3 |
Verification(s)
|
the login response
hasProperty("code", <200>)
|
|
|
|
4 |
and
|
the response status
is <SUCCESSFUL>
|
{"code":200,"type":"unknown","message":"logged in user session:1744103592946"}
|
|
|
Test scenario:2
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a swagger petstore
|
|
|
|
2 |
Operation(s)
|
logging in with
Credentials(userName=foo, password=abc)
|
{"code":200,"type":"unknown","message":"logged in user session:1744103593004"}
|
|
|
3 |
Verification(s)
|
the login response
hasProperty("code", <200>)
|
|
|
|
4 |
and
|
the response status
is <SUCCESSFUL>
|
{"code":200,"type":"unknown","message":"logged in user session:1744103593004"}
|
|
|
Test scenario:3
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a swagger petstore
|
|
|
|
2 |
Operation(s)
|
logging in with
Credentials(userName=bar, password=abc123)
|
{"code":200,"type":"unknown","message":"logged in user session:1744103593051"}
|
|
|
3 |
Verification(s)
|
the login response
hasProperty("code", <200>)
|
|
|
|
4 |
and
|
the response status
is <SUCCESSFUL>
|
{"code":200,"type":"unknown","message":"logged in user session:1744103593051"}
|
|
|
Test Ng With Hamcrest
[T-2F77C740] 1 shouldSucceed
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-86B7A8D] 5 shouldAssertOnListOrder
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-F89BACE2] 2 shouldAssertOnBoolean
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-82C983F0] 3 shouldAssertOnStringContents
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-7738241C] 4 shouldAssertOnListContents
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-B5F586FC] 6 shouldAssertOnEquality
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-286CB61D] 9 shouldCalculateSinusWithTolerance
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Test scenario:2
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-43C942DB] 7 shouldAssertOnStreamContents
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
[T-19144194] 8 shouldAssertOnStreamOfJsons
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
Generic Rest
Tag |
Value |
Self Test |
|
REST Test |
|
Reference |
70 |
[T-2E13FA05] Should retrieve json field from fake rest service
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:35919
|
|
|
|
3 |
and
|
appending path
some-id
|
|
|
|
4 |
and
|
getting the response
|
|
|
|
5 |
Verification(s)
|
the response contents
[a value greater than <0> <<<--->>> $[0].id, <2> <<<--->>> $[1].id]
|
[{id:1},{id:2},{id:3}]
|
|
|
Generic Mock Server Rest
Tag |
Value |
Self Test |
|
REST Test |
|
Reference |
159 |
[T-8E7BFF7A] Should verify access by definition
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:35621
|
|
|
|
3 |
and
|
appending path
some-id
|
|
|
|
4 |
and
|
getting the response
|
|
|
|
5 |
Verification(s)
|
the response contents
[a value greater than <0> <<<--->>> $[0].id, <2> <<<--->>> $[1].id]
|
|
|
|
6 |
and
|
the some id request was sent
|
[{"id":1},{"id":2},{"id":3}]
|
|
|
[T-EAB6F233] Should verify access by expection id
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:35621
|
|
|
|
3 |
and
|
appending path
dummy
|
|
|
|
4 |
and
|
getting the response
|
|
|
|
5 |
Verification(s)
|
the dummy request was sent
|
<<empty>>
|
|
|
[T-EF0F58E5] Should verify access of dropped connection
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:35621
|
|
|
|
3 |
and
|
appending path
drop-connection
|
|
|
|
4 |
and
|
trying to access
|
|
|
|
5 |
Verification(s)
|
the drop connection request was sent
|
<<null>>
|
|
|
[T-D938D7C5] Should verify accessed twice
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:35621
|
|
|
|
3 |
and
|
appending path
twice
|
|
|
|
4 |
and
|
getting the response
|
|
|
|
5 |
and
|
getting the response
|
|
|
|
6 |
and
|
getting the response
|
|
|
|
7 |
Verification(s)
|
the response status
is <CLIENT_ERROR>
|
|
|
|
8 |
and
|
the method was called more than twice
|
<<empty>>
|
|
|
[T-5F78A4CD] Should verify accessed twice by expectation id
Test scenario:1
# |
|
Step / Expected Result |
Actual Observed Result |
Conclusion |
SPR |
1 |
Pre-condition(s)
|
a REST client
|
|
|
|
2 |
Operation(s)
|
connecting to
http://localhost:35621
|
|
|
|
3 |
and
|
appending path
twice
|
|
|
|
4 |
and
|
getting the response
|
|
|
|
5 |
and
|
getting the response
|
|
|
|
6 |
and
|
getting the response
|
|
|
|
7 |
Verification(s)
|
the response status
is <CLIENT_ERROR>
|
|
|
|
8 |
and
|
the method was called more than twice
|
<<empty>>
|
|
|
Test Summary
The following summarizes the results for all test procedures:
Total scenarios |
|
Total duration [nanoseconds] |
|
Successful scenarios |
|
Failed scenarios |
|
Manual scenarios |
|
Revision History
Revision |
Date |
Reason for change |
Author |
no revision data
|