• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Testing for Https protocol

 
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

i dont have much experience in testing web applications...
I have been asked to test a web application.

how can i test an application...where

if a user hits a url...then in the application,it accesses a web service..and returns the value...I have to write test case for the part where ....it has to ascertain that the application makes uses of a specific protocol while accessing the webservice....Similarly..i have to test another part of the application..where i have to check whether the protocol used is ...
https

How can i test for this ...in a web application..
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You could test this in many ways. Here are some options:

1) Hit a URL, verify that the response is correct. This requires the web service being accessible, of course.

2) Hit a URL, let the application talk to a fake web service running on the same machine, verify that the response is correct and that the fake web service received the expected kind of request.

3) Simulate an incoming HTTP request, let the application talk to a mock object instead of the real web service proxy, verify that the response is correct and that the mock object received the expected parameters.
reply
    Bookmark Topic Watch Topic
  • New Topic