samedi 17 juin 2017

Tag

I have some problems with tag Choice in Peach Fuzzer. My xml DataModel:

<DataModel name="Temp" >
    <Choice>
      <String value="a" mutable ="false"/>
      <String value="b" mutable="false"/>
      <String value ="c" mutable="false"/>
    </Choice>    
  </DataModel> 

As a result, only the first option "a" is displayed. And I need to have different letters. How can this be achieved?The generated tests are output to a file. My all xml code:

<DataModel name="Temp" >
    <Choice>
      <String value="a" mutable ="false"/>
      <String value="b" mutable="false"/>
      <String value ="c" mutable="false"/>
    </Choice>    
  </DataModel> 

  <StateModel name="State" initialState="XssState">
    <State name="XssState">
      <Action type="output">
        <DataModel ref="Temp" />
      </Action>
      <Action type="close"/>
    </State>
  </StateModel> 

  <Test name="Default">
    <StateModel ref="State"/>
    <Publisher class="FilePerIteration">
      <Param name="FileName" value="tests1/tes_{0}.txt"/>
    </Publisher>
    <Strategy class="Random">
    </Strategy>
  </Test>

Thank you for help!

Aucun commentaire:

Enregistrer un commentaire