Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ11081
Printer Friendly
Email Article Link
Avalanche: Why is my multi core test duplicating entries from my Forms DB files?
Answer
Multi core tests require a separate action list and formsDB is required for each core, FormDB files should not contain duplicate information.
Below is a webauth example that requires each user across cores to use a different username and password to login via an HTTP Post to the DUT or server:
Client/Actions:
#NODIVIDE
CREATE <global.mycursor1 myformsfilename sequential_autoinc>
CREATE <global.mycursor2 myformsfilename sequential_autoinc>
ASSIGN VARIABLE <myvar1 global.mycursor1 1>
ASSIGN VARIABLE <myvar2 global.mycursor2 2>
1 GET https://192.168.1.1
1 GET https://172.22.1.1/+CSCOE+/logon.html
1 POST https://192.168.1.1/+webvpn+/index.html<POST_FILE="Content_0001" CONTENT_TYPE="application/x-www-form-urlencoded">
1 GET https://172.22.1.1/+webvpn+/webvpn_logout.html
Form DB file 'myformsfilename' contains the following:
enabled only 'auto-increment'
user1,pass1
user2,pass2
user3,pass3
...
The above action list also requires an http content file named ‘Content_0001’ (subtab on the ‘client’ ‘actions’ tab) with ‘Process Spir Variables’ enabled.
Example content of the http content file:
username=<SpiVariable>myvar1</SpiVariable> password=<SpiVariable>myvar2</SpiVariable>
Version
3.0
Publish Date
2013-09-24
Categories
Product : Avalanche,Avalanche
Related Articles