Web-services testing




                  Roman Khachko
Web-services: where to start?

      - WSDL
      - Features of web-services testing
      - Approaches
Request/Response
<soapenv:Envelope                               <soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soa   xmlns:soapenv="http://schemas.xmlsoap.org/soa
p/envelope/"                                    p/envelope/"
xmlns:mer="http://ws.test/sample">              xmlns:mer="http://ws.test/sample">
 <soapenv:Header/>                               <soapenv:Header/>
 <soapenv:Header/>                               <soapenv:Body>
 <soapenv:Body>                                    <mer:logInResponse>
   <mer:logInRequest>                               <status>LOGIN_SUCCESSFUL</status>
    <username>simple_user</username>               </mer:logInResponse>
    <password>simple_pass</password>             </soapenv:Body>
   </mer:logInResponse>                         </soapenv:Envelope>
 </soapenv:Body>
</soapenv:Envelope>
How to test web-services more
                     efficiently?
- Create big and complex
scenarios
- Use test automation tools
- Implement continuous
integration
Automate your tests
Approaches to test
automation:

- Test only web-services
- Test web-services together
with front-end part




                                   Why test automation?

                                   - Stable regression test
                                   suite
                                   - DDT
                                   - Maintainable tests
                                   - Continuous integration
What do we have in real life?
Developers:                  QA:

- unit-tests                 - simple request/response
- integration tests          testing
How should it be?
Developers:                       QA:

- unit-tests                      - complex scenarios
- integration tests               - test automation
                                  - best test design practices are
                                  used for creating testcases
                                  - continues integration
                                  - all requirements covered by
                                  tests
Conclusions
           - Test web-services and use QA knowledge and experience for this.
                - Use test automation to make your testing more efficient
                 - Have a good quality of your product and a happy team




You can find more information
here:
http://khachko.blogspot.com/

Or contact me:
romankhachko@gmail.com

Web services testing

  • 1.
    Web-services testing Roman Khachko
  • 2.
    Web-services: where tostart? - WSDL - Features of web-services testing - Approaches
  • 3.
    Request/Response <soapenv:Envelope <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soa xmlns:soapenv="http://schemas.xmlsoap.org/soa p/envelope/" p/envelope/" xmlns:mer="http://ws.test/sample"> xmlns:mer="http://ws.test/sample"> <soapenv:Header/> <soapenv:Header/> <soapenv:Header/> <soapenv:Body> <soapenv:Body> <mer:logInResponse> <mer:logInRequest> <status>LOGIN_SUCCESSFUL</status> <username>simple_user</username> </mer:logInResponse> <password>simple_pass</password> </soapenv:Body> </mer:logInResponse> </soapenv:Envelope> </soapenv:Body> </soapenv:Envelope>
  • 4.
    How to testweb-services more efficiently? - Create big and complex scenarios - Use test automation tools - Implement continuous integration
  • 5.
    Automate your tests Approachesto test automation: - Test only web-services - Test web-services together with front-end part Why test automation? - Stable regression test suite - DDT - Maintainable tests - Continuous integration
  • 6.
    What do wehave in real life? Developers: QA: - unit-tests - simple request/response - integration tests testing
  • 7.
    How should itbe? Developers: QA: - unit-tests - complex scenarios - integration tests - test automation - best test design practices are used for creating testcases - continues integration - all requirements covered by tests
  • 8.
    Conclusions - Test web-services and use QA knowledge and experience for this. - Use test automation to make your testing more efficient - Have a good quality of your product and a happy team You can find more information here: http://khachko.blogspot.com/ Or contact me: romankhachko@gmail.com