16 thoughts on “Webinject How to

  1. Hi! I have a problem with WebInject, maybe you could help?. There`s a site gamenext.com,. I`m trying badly to understand what is the url to postdata in. Using httpfox i`ve found this: (https://secure-proc.betaregion.omiverify.com/UserAccount/Processing/1900.1/APP/PostData.ashx) i think that`s the needed url. But then again i can`t figure what should I type to postbody. httpfox returned really huge postdata with redirection links and so on.
    I would be just happy if you could give me an advice or suggested xml πŸ™‚ thank you!

  2. i`ll just add some more info in case you`ll be intrested πŸ˜€
    site redirects me right AFTER i filled login&password. But how do I fill these fields via postbody? Please give an advice πŸ™‚

  3. hey ane4ka, thanks for posting. i cant open the address you posted. also it would require a user and pass to test it. where you able to get any output in debug mode?
    check out the forums, other people have made it work even when redirection exists.
    cheers,
    felipe

  4. Hi! thanks alot for your reply! the site is http://gamenext.com
    you can use my account to test(once you`ll have some free time and desire πŸ˜€ )
    e-mail=annielee@bigmir.net
    passwd:zxc123
    I`ve searched alot but it seems like a have some unique problem.

  5. @Ane4ka
    use config.xml like this for global logging…
    Mozilla/4.0
    Mozilla/4.0
    MSIE 6.0
    Windows NT 5.0)
    yes
    yes – log HTTP for all test cases
    onfail – log HTTP for test cases that fail only
    nagios
    nagios – output of WebInject in console mode will be compatible for use as a plugin for the Nagios monitoring program
    mrtg – output of WebInject in console mode will be compatible for use as a plugin (external monitoring script)
    standard – reverts to the standard formatted output mode (omitting this setting defaults to ‘standard’ mode)

  6. Hello,
    I am having the same problems as the ones presented above. I have a https site that I have to monitor and check the authentification, but I am not able to succed.
    My test case looks like this:
    Even though I put the user name wrong I receive a successfull login message.
    Can any one of you guys give me a littel hand.
    Thanks,
    Andrei

  7. Lizarraga Andrei :
    Hello,
    I am having the same problems as the ones presented above. I have a https site that I have to monitor and check the authentification, but I am not able to succed.
    My test case looks like this:
    Even though I put the user name wrong I receive a successfull login message.
    Can any one of you guys give me a littel hand.
    Thanks,
    Andrei

    Sorry.. this is my testcase
    case
    id=”1″
    method=”post”
    url=”https://alumni.insead.edu”
    postbody=”username=xxx&password=xxxxx”
    logrequest=”yes”
    logresponse=”yes”
    close case

  8. Hi all,
    I have a problem like above happens. The result of my test ever is the same, if I put a bad user o pass, the result is always ok:
    WebInject OK – All tests passed successfully
    My xml file is:
    Anyone knows why??
    Thanks a lot,
    Albert

  9. Hi All,
    Some one give me example for https authentication as well as redirection(during the login).
    please help me guyz..

  10. Hi Guys,,
    i got a task to configure Nagios3 and also webinject with nagios. nagios is configured sucessfully but i have been stucked at configuration of webinject. can anybody guyide me how to configure webinject step by step as i am from a non programming background so programming is bit difficult for me to understand.
    thanks in advance.
    Sandeep

    1. Sandeep,
      First make it works in the cmd line
      /webinject.pl -c test_cfg.xml
      where test_cfg.xml is something like:
      test.xml http://192.168.3.188:8080 Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
      nagios
      10
      30
      onfail
      OBS: In my case I need to use a proxy, you may need to remove that line
      Then the test.xml should be something like:

      verifypositive=”direito” ( this is the strting it will search in the body of the site, to validate it )
      Did you make it work?
      cheers,
      Felipe

Leave a Reply

Your email address will not be published. Required fields are marked *