Forum Discussion

M_McDonald's avatar
M_McDonald
Super Contributor
16 years ago

Re: Property expansion and HTTP Request

I have the following in the body an HTTP Request Test using POST method:

${=log.info("HELLO")}


The logging occurs, but 3 times

Tue Apr 13 15:03:45 EDT 2010:INFO:HELLO
Tue Apr 13 15:03:45 EDT 2010:INFO:HELLO
Tue Apr 13 15:03:45 EDT 2010:INFO:HELLO


Why does this happen?

I am using "Build daily-2010-04-09-[2], Build Date 2010/04/09 13:52"

5 Replies

  • Hi,

    hmm.. good questions.. it should be only once.. I'll try to find out..

    regards,

    /Ole
    eviware.com
  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    Interesting, if I switch to the GET method the statement only gets executed once.

    And any scripts in the query parameters get executed twice regardless of the method.
  • Hi,

    ok.. the upcoming nightly build should fix this.. please let me know how it works for you.

    regards!

    /Ole
    eviware.com
  • M_McDonald's avatar
    M_McDonald
    Super Contributor
    Looks to be working now, thanks.

    Would this have be a problem for all request steps, or only HTTP?