Ad Widget

Collapse

Web Monitoring XML POST

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ralphmyers
    Junior Member
    • Mar 2007
    • 5

    #1

    Web Monitoring XML POST

    Howdy,

    Is it possible to set up a web scenario with XML in the POST request? If so, what's the format for the request? Here's what I'm trying to no avail:

    <?xml version='1.0' encoding='utf-8'?><request date='12/12/2012 3:38:02 PM' type='evaluate' project-name='TestService'> <initializers /> <dataset> </dataset> <goals> <goal name='TEST GOAL' /> </goals> <options> <option name='com.testengine.eval.optimistic' value='no' /> <option name='com.testengine.debug.tree' value='off' /> </options></request>
  • Efitzgerald
    Junior Member
    • Apr 2016
    • 1

    #2
    I'm having similar problems. The documentation doesn't cover this (XML POST options) and I've googled around without finding anyone doing something similar. Can anyone help out?

    Comment

    • lpossamai
      Senior Member
      • Jun 2018
      • 119

      #3
      Were you guys able to get this working? I'm also looking for it.

      Comment

      • kernbug
        Senior Member
        • Feb 2013
        • 330

        #4
        Originally posted by ralphmyers
        Howdy,

        Is it possible to set up a web scenario with XML in the POST request? If so, what's the format for the request? Here's what I'm trying to no avail:

        <?xml version='1.0' encoding='utf-8'?><request date='12/12/2012 3:38:02 PM' type='evaluate' project-name='TestService'> <initializers /> <dataset> </dataset> <goals> <goal name='TEST GOAL' /> </goals> <options> <option name='com.testengine.eval.optimistic' value='no' /> <option name='com.testengine.debug.tree' value='off' /> </options></request>
        Hi,

        Zabbix rely on the curl library, you can try to set:
        Post field with you xml post string formatted for curl;
        Headers field with "Content-Type: application/somexml";

        Comment

        Working...