Details

    • Type: Bug
    • Status: Not Yet Scheduled
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Hi,

      I have an issue with the matching functionnality.
      Indeed, when I want to dump the last request of my session, then no match file is written in my outpout directory and the match.log file is empty.

      Here's my code :
      <request>
      <match do="dump" when="match">.</match>
      <http url='/my/request' version='1.1' method='GET'></http>
      </request>

        Expenses

          Activity

          Hide
          rodo Rodolphe Quiédeville added a comment -

          I reproduced the bug and it seems that if a do="dump" is the last request in the scenario the dump is not done, with the same scenario adding a request at the and after the requets with the dump is a solution.

          This one doesn't work :

          <?xml version="1.0"?>
          <!DOCTYPE tsung SYSTEM "/product/TSUNG/tsung-1.5.0/tsung-1.0.dtd">
          <tsung loglevel="notice" version="1.0" dumptraffic="protocol" backend="fullstats">
          <clients><client host="localhost"/></clients>

          <servers><server host="localhost" port="80" type="tcp"/></servers>

          <load duration="10" unit="minute">
          <arrivalphase phase="1" duration="1" unit="minute">
          <users interarrival="1" unit="second" maxnumber="1"/>
          </arrivalphase>
          </load>

          <sessions>
          <session name="test" weight="1" type="ts_http">
          <request>
          <http url="/ebusiness/schedules" version="1.1" method="GET"/>
          </request>
          <request>
          <match do="dump" when="match">.</match>
          <http url="/ebusiness/schedules" version="1.1" method="GET"/>
          </request>
          </session>
          </sessions>
          </tsung>

          This one works :

          <?xml version="1.0"?>
          <!DOCTYPE tsung SYSTEM "/product/TSUNG/tsung-1.5.0/tsung-1.0.dtd">
          <tsung loglevel="notice" version="1.0" dumptraffic="protocol" backend="fullstats">
          <clients><client host="localhost"/></clients>

          <servers><server host="localhost" port="80" type="tcp"/></servers>

          <load duration="10" unit="minute">
          <arrivalphase phase="1" duration="1" unit="minute">
          <users interarrival="1" unit="second" maxnumber="1"/>
          </arrivalphase>
          </load>

          <sessions>
          <session name="test" weight="1" type="ts_http">

          <request>
          <http url="/ebusiness/schedules" version="1.1" method="GET"/>
          </request>

          <request>
          <match do="dump" when="match">.</match>
          <http url="/ebusiness/schedules" version="1.1" method="GET"/>
          </request>

          <request>
          <http url="/ebusiness/schedules" version="1.1" method="GET"/>
          </request>

          </session>
          </sessions>
          </tsung>

          Show
          rodo Rodolphe Quiédeville added a comment - I reproduced the bug and it seems that if a do="dump" is the last request in the scenario the dump is not done, with the same scenario adding a request at the and after the requets with the dump is a solution. This one doesn't work : <?xml version="1.0"?> <!DOCTYPE tsung SYSTEM "/product/TSUNG/tsung-1.5.0/tsung-1.0.dtd"> <tsung loglevel="notice" version="1.0" dumptraffic="protocol" backend="fullstats"> <clients><client host="localhost"/></clients> <servers><server host="localhost" port="80" type="tcp"/></servers> <load duration="10" unit="minute"> <arrivalphase phase="1" duration="1" unit="minute"> <users interarrival="1" unit="second" maxnumber="1"/> </arrivalphase> </load> <sessions> <session name="test" weight="1" type="ts_http"> <request> <http url="/ebusiness/schedules" version="1.1" method="GET"/> </request> <request> <match do="dump" when="match">.</match> <http url="/ebusiness/schedules" version="1.1" method="GET"/> </request> </session> </sessions> </tsung> This one works : <?xml version="1.0"?> <!DOCTYPE tsung SYSTEM "/product/TSUNG/tsung-1.5.0/tsung-1.0.dtd"> <tsung loglevel="notice" version="1.0" dumptraffic="protocol" backend="fullstats"> <clients><client host="localhost"/></clients> <servers><server host="localhost" port="80" type="tcp"/></servers> <load duration="10" unit="minute"> <arrivalphase phase="1" duration="1" unit="minute"> <users interarrival="1" unit="second" maxnumber="1"/> </arrivalphase> </load> <sessions> <session name="test" weight="1" type="ts_http"> <request> <http url="/ebusiness/schedules" version="1.1" method="GET"/> </request> <request> <match do="dump" when="match">.</match> <http url="/ebusiness/schedules" version="1.1" method="GET"/> </request> <request> <http url="/ebusiness/schedules" version="1.1" method="GET"/> </request> </session> </sessions> </tsung>
          Hide
          rodo Rodolphe Quiédeville added a comment -

          I've tried to fix the bug, when the second time I was unable to reproduce the bug on another installation. I'll look again and may be close the bug if I can't reproduce it and if anyone report the same.

          Show
          rodo Rodolphe Quiédeville added a comment - I've tried to fix the bug, when the second time I was unable to reproduce the bug on another installation. I'll look again and may be close the bug if I can't reproduce it and if anyone report the same.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development