question

MikeKulls avatar image
MikeKulls asked ericnute converted comment to answer

Create device in STC from iTest

Currently we create a device in STC, save the config as an XML file and load that XML file into iTest. This isn't ideal because if we need to change something then we might need to change it in many XML files (assuming 1 XML file per test case). What we would like to do is eliminate the XML file completely and simply create the device using commands from within iTest. I've found the command addHost which appears to add a device but it has a limited set of properties that I can configure, for example I can't assign 2 vlans to the device. If I use the STC gui from within iTest then it also appears to have a limited set of properties. Is there any way I can get access to these addition properties? To put this a different way, here are the steps I would normally do in STC to create a device, how would I do those steps in iTest without an XML file? - Click Add - Ethernet - Access, tick DHCPv4 - IPv4, 2 VLANs - VLANS as 3160 and 100 - Finish - Tick 'Enable Relay Agent Circuit ID' - Enter a value from 'Relay Agent Circuit ID' Thanks, Michael
iTestSpirent TestCenter (STC)iTest Enterprise
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ToddL avatar image ToddL commented ·
Mike, if you provide contact details I can send you the list of commands and some surrounding documentation. You can email me at todd.law @ spirent.com
0 Likes 0 ·
ToddL avatar image
ToddL answered
The upcoming release of iTest, 4.4, expected in June, will allow you to do exactly what you are requesting, i.e. create an STC test case without using an XML file. You could do that by either adding the commands one by one from within iTest, or using a new feature in STC to save a configuration as a test case that builds it up from scratch, i.e. no XML file.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

vijaykumar avatar image
vijaykumar answered MikeKulls commented
Unfortunately, iTest had limited set of properties to configure a device from GUI. But we can use STC API commands through iTest TestCenter console to add/configure a device according to our requirement. ![alt text][1] [1]: /storage/temp/4023-api.png

api.png (18.6 KiB)
4 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

MikeKulls avatar image MikeKulls commented ·
Thanks vijaykumar, that sounds promising. Do you know if there is any documentation on this where I can find a list of commands?
0 Likes 0 ·
vijaykumar avatar image vijaykumar commented ·
Hi Mike, Please download the document from below link http://docid.spirent.com/DOC10035 Regards, Vijay
0 Likes 0 ·
LarryVeilleux avatar image LarryVeilleux ♦♦ vijaykumar commented ·
Customers need to log into the CSC ( http://support.spirent.com) before selecting the link. Spirent employees on the VPN can access the course from this link: http://kb.spirent.com/index?page=content&id=DOC10035.
0 Likes 0 ·
MikeKulls avatar image MikeKulls vijaykumar commented ·
I can't get that link to work. It either tells me that the article does not exist or "Knowledge Base Answer Transmission Rate (KBATr) at Zero!". Is that the correct link?
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.