Spirent iTest
While performing negative testing for few routers/switches (e.g., Calix switch) if we give any wrong command it will throw a syntax error and prompt you to edit or delete the same command. Otherwise remaining steps will append with that syntax error step.
Here is the example:
Here control-vlan 0 is not valid command so it throws syntax error and it expects backspace command to hit and move forward. Here it’s not happened so remaining all commands are appended to the existing command.
Grand# configure
Grand(config)# g8032-ring 1
Grand(g8032-ring 1)# control-vlan 0
Syntax error: Illegal parameter
Grand(g8032-ring 1)# control-vlan 0end
Grand(g8032-ring 1)# control-vlan 0endshowg8032-ring1
Grand(g8032-ring 1)# control-vlan 0endshowg8032-ring1config
Grand(g8032-ring 1)# control-vlan 0endshowg8032-ring1configg8032-ring1
Grand(g8032-ring 1)# control-vlan 0endshowg8032-ring1configg8032-ring1control-vlan4096
Grand(g8032-ring 1)# control-vlan 0endshowg8032-ring1configg8032-ring1control-vlan4096end
In this scenario it’s very difficult to perform negative testing through iTest because prompt issue hits for each and every step.
Solution:
To overcome this issue we need to add a new step [char Ctrl-u] which will clear the pervious command. So that it’s easy to perform both positive and negative testing.