• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

HttpUnit - Urgent Help Required

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

AM in a tight spot...

My scenario -> I want my web aplication to throw me out a web response object.... without HttpUnit going through the flow from scratch

ie,

Testing Scenario:-

Page 1 -> populate values ; Page 2-> test values displayed on page2 with those from page1

HttpUnit Flow:
1. create webrequest for page 1,
2. populate values on page1 from say, property file
3. get Submit of page1 and create webresponse of page 2 out of the response from page1 submit
4. test the page2 webresponse

Required Flow:

1. Page is displayed to the user in the browser as the web application flow.
2. User enters values
3. Application directs request,response to Page2 JSP.
4. Appliaction throws out a webresponse for testing at this point.

How can we possibly construct a WebResponse for this kind of scenario?
regards
Menon
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi There

Tell me what web frame work you are using
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello "undertaker web",

May I ask you to sit down, grab a coffee, read our naming policy, and proceed to change your display name into something compliant with the policy (a real or, at the very least, real-looking name is required).

Thanks. And welcome to the 'ranch!
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic