Unique Number Parameter

Slides:



Advertisements
Similar presentations
Drupal Basics Part 1 An Overview Login Information Edit the Homepage Using the theme Agricultural Communications Services Integrated Media Training Sessions.
Advertisements

Microsoft Access.
Help File For User Creation Click the “Course” button for Creating/Add User.
Using the Georgia Online Assessment System(OAS) We will lead the nation in improving student achievement. Kathy Cox, State Superintendent of Schools.
Using the SmartPLS Software
An End-User Perspective On Using NatQuery Building an Expression Variable T
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
DEV034 -Web Applications, Introduction
XP New Perspectives on Creating Web Pages With Excel Tutorial 1 1 Creating Web Pages With Excel Tutorial 1.
An End-User Perspective On Using NatQuery Building a Dynamic Variable T
Customer Service Module Course Contents Table of Contents Enter A Request Search A Request Create Invoice (Funeral home request) Search Invoice Manage.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Creating And Maintaining A Database. 2 Learn the guidelines for designing databases When designing a database, first try to think of all the fields of.
NetAcumen ActiveX Install Instructions. Requirements: Administrator: User must be logged in as Administrator of the machine. If you are not the administrator,
Advance Model Builder Features. Advance Features Using Lists (also Batching) Iteration Feedback Model Only Tools Inline Variable Substitution Preconditions.
Digital Certificate Installation & User Guide For Class - 2 Certificates.
Go to our website, and click on the eMedia Catalog link To find books, either click on the advanced search (which I will.
Defining Styles and Automatically Creating Table of Contents and Indexes Word Processing 4.03.
Nic Shulver, Intro: Developing Server Applications What is a server? Many types of server – File server – file: networked file.
Using the Georgia Online Assessment System(OAS) We will lead the nation in improving student achievement. Kathy Cox, State Superintendent of Schools.
® Microsoft Office 2013 Access Building a Database and Defining Table Relationships.
Microsoft Access – Tutorial 2 Designing Databases In this tutorial, we will create a new database create a new table import tables from an existing database.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 2 1 Microsoft Office Access 2003 Tutorial 2 – Creating And Maintaining A.
Lecture Note 1: Getting Started With ASP.  Introduction to ASP  Introduction to ASP An ASP file can contain text, HTML tags and scripts. Scripts in.
® Microsoft Office 2010 Building a Database and Defining Table Relationships.
To Join a Team, click the “Join a Team” button.. Once on the page, click one of the two “Join Team” buttons on the page to begin the registration process.
An Introduction to Designing and Executing Workflows with Taverna Aleksandra Pawlik materials by: Katy Wolstencroft University of Manchester.
Enterprise PHP - Introduction Enterprise Client-Server Development with PHP Nic Shulver, FCES, Staffordshire University A fifteen credit module based on.
Darek Sady - Respondus - 3/19/2003 Using Respondus Beginner to Basic By: Darek Sady.
PSU Resources
Use SPSS for solving the problems Lecture#21. Opening SPSS The default window will have the data editor There are two sheets in the window: 1. Data view2.
LOGIN PAGE Login Page Support CRM:
Laboratory Exercise # 10 – Microsoft Word Additional Topics Office Productivity Tools 1 Laboratory Exercise # 10 Microsoft Word Additional Topics Objectives:
SCRIPT RECORDING [webc mode].
Random Number Parameter
Access Tutorial 2 Building a Database and Defining Table Relationships
NETSTORM.
(Hypertext Transfer Protocols Headers)
Do-more Technical Training
HTTP – An overview.
SCRIPT RECORDING [webc mode].
Using a template to create a document
Document Generation QRG
Introduction To ‘Parameterization’
* Lecture # 7 Instructor: Rida Noor Department of Computer Science
Computer security: certification
Random String Parameter
Introduction Web Environments
Visual programming Chapter 1: Introduction
HTTP Protocol.
Date Time Parameter.
Testing REST IPA using POSTMAN
Defining Styles and Automatically Creating Table of Contents and Indexes Word Processing 4.03.
CS320 Web and Internet Programming Cookies and Session Tracking
Access Lesson 2 Creating a Database
Title: Agile Communication Environment Keycode Retrieval System (KRS) User Guide Issue: 0.4 Date: July 2011 Hi and welcome to the Order.
HTTP Request Method URL Protocol Version GET /index.html HTTP/1.1
Web Content Management
CS3220 Web and Internet Programming Cookies and Session Tracking
Hypertext Transfer Protocol
Microsoft Office Access 2003
Creating and Linking New Pages
TPC-Global PARTcommunity
The HTTP Protocol COSC 2206 Internet Tools The HTTP Protocol
CS3220 Web and Internet Programming Cookies and Session Tracking
Help Me FedEx – Installing and Using
Wings 2.0 Business Flow Reference
CSCI-351 Data communication and Networks
Performance & Development Review USER GUIDE > MANAGER

Presentation transcript:

Unique Number Parameter

Unique Number Parameter is used to generate unique number across all of the users.   Unique number generated is 16121217 And if value is updated then only increment of 1 (sequentially) takes place.

Unique No. window looks like as follows::

Description of all the fields:: 1.Parameter Name ‘Parameter name’ is a ‘Unique no. parameter Variable Name’ which is used to access this parameter in the entire script. Variable name consists of only English alphabet and _ (it also accepts alpha-numeric name).

2.Format Length of the no. generated can be specified here. It can have following values:- %01lu %02lu %03lu %04lu %05lu %06lu %07lu %08lu %09lu If the length of the number generated is less than the specified length, then it is left padded with zeros.

5.Update Value On This field is used to tell Netstorm when to generate new string: It has two options:- Session use

Session:: Means generate unique once and use this value for the entire session. i.e. If ‘session’ is chosen, unique no. is generated only for first use of unique no. Parameter. Then for the entire script, same value is used.   Use:: Means generate unique no. every time Random String Parameter is used. i.e. If ‘Use’ is chosen, unique no. is generated for each use of unique no. Parameter. For example::If unique no. Parameter is used 50 times in script, then in case of ‘use’, for every reference, new no. is generated. Next generated no. is incremented by 1 for its each use.

Example:-   In this example, we will generate a Random Number for Credit Card number and parameterize it on Confirmation Page.

In registration.spec file, right-click in right pane and choose Parameters > Unique Number Parameter

Click on ADD button   Set following values:-

Click on OK > Close. Following API will be inserted in registration Click on OK > Close. Following API will be inserted in registration.spec file:- nsl_unique_number_var(CreditCard, Format=%08lu, Refresh=SESSION); Click on SAVE button. Double click on flow file and parameterize Credit Card number available on Confirmation Page.  

After parameterization, it will look like as shown below:-   ns_web_url ("Confirmation", "URL=http://192.168.1.39:83/cgi-bin/findflight?firstName=Tiger&lastName=Scott address1=4261+Stevenson+Blvd.&address2=Fremont%2C+CA+94538&pass1=Scott+Tiger&creditCard={CreditCard}&expDate=12%2F2%2F&oldCCOption=&numPassengers=1&seatType=Coach&seatPref=None&outboundFlight=000%7C0%7C09-17-2011&advanceDiscount=&.cgifields=saveCC&buyFlights.x=76&buyFlights.y=13", "HEADER=Accept-Language: Z",

INLINE_URLS, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/banner_animated.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/sun_swede.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/flights.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/home.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/signoff.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/images/splash_flightconfirm.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/images/bookanother.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/vep/images/velocigen.gif", "HEADER=Accept-Language: Z", END_INLINE );

Click on Save button and execute scenario Click on Save button and execute scenario. Now look at request with number 5. It will look as follows:- GET /cgi-bin/findflight?firstName=Tiger&lastName=Scott&address1=4261+Stevenson+Blvd..&address2=Fremont%2C+CA+94538&pass1=Scott+Tiger&creditCard= 16777217&expDate=12%2F2%2F&oldCCOption=&numPassengers=1&seatType=Coach&seatPref=None&outboundFlight=000%7C0%7C09-17-2011&advanceDiscount=&.cgifields=saveCC&buyFlights.x=76&buyFlights.y=13 HTTP/1.1 Host: 192.168.1.39:83 User-Agent: Mozilla_CA/4.79 [en] (X11; U; Linux 2.4.18-3d_epoll i686) Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0. Accept-Encoding: gzip, deflate, compress;q=0.9^M Keep-Alive: 300 Connection: keep-alive Accept-Language: Z Value substituted by NetStorm is shown in bolds.

Ex: Parameter Name No special symbols are allowed

Space is not allowed

Numeric value is not allowed

Alpha-numeric value is acceptable

Ex : Update Value On ‘Session’ cavisson systems

Parameterizing Login Page in hpd.c file ns_web_url ("Login", "URL=http://192.168.1.39:83/cgi-bin/login?userSession=75893.0884568651DQADHfApHDHfcDtccpfAttcf&username={username}password={password}JSFormSubmit=off&login.x=0&login.y=0? {session_demo}", "HEADER=Content-Type: application/x-www-form-urlencoded{session_demo}", "HEADER=Accept-Language: Z{session_demo}", contt.. cavisson systems

INLINE_URLS, "URL=http://192. 168. 1 INLINE_URLS, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/banner_animated.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/sun_swede.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/flights.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/home.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/signoff.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/images/banner_merctur.jpg", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/vep/images/velocigen.gif", "HEADER=Accept-Language: Z", END_INLINE ); cavisson systems

Accept-Encoding: gzip, deflate, compress;q=0.9^M Keep-Alive: 300^M Now look at request . It will look something like follows:( Value substituted by NetStorm is shown in bolds) GET /cgi-bin/login?userSession=75893.0884568651DQADHfApHDHfcDtccpfAttcf&username=password=JSFormSubmit=off&login.x=0&login.y=0? 16777217%22Uxf0w HTTP/1.1^M Host: 192.168.1.39:83^M User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C)^MAccept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.^M Accept-Encoding: gzip, deflate, compress;q=0.9^M Keep-Alive: 300^M Connection: keep-alive^M Content-Type: application/x-www-form-urlencoded16777217"Uxf0w^M Accept-Language: ^RZ16777217"Uxf0w^M ^M cavisson systems

Unique No. generated is the same at all the places as we have used “session” cavisson systems

Ex:Update Values On ‘Use’ cavisson systems

Parameterizing Login Page in hpd Parameterizing Login Page in hpd.c file ns_web_url ("Login", "URL=http://192.168.1.39:83/cgi-bin/login?userSession=75893.0884568651DQADHfApHDHfcDtccpfAttcf&username={username}password={password}JSFormSubmit=off&login.x=0&login.y=0? {use_demo}", "HEADER=Content-Type: application/x-www-form-urlencoded{use_demo}", "HEADER=Accept-Language: Z{use_demo}", contt.. cavisson systems

INLINE_URLS, "URL=http://192. 168. 1 INLINE_URLS, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/banner_animated.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/sun_swede.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/flights.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/home.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/Merc10-dev/images/signoff.gif", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/images/banner_merctur.jpg", "HEADER=Accept-Language: Z", END_INLINE, "URL=http://192.168.1.39:83/tours/vep/images/velocigen.gif", "HEADER=Accept-Language: Z", END_INLINE ); cavisson systems

Now look at request . It will look something like follows:( Value substituted by NetStorm is shown in bolds) GET /cgi-bin/login?userSession=75893.0884568651DQADHfApHDHfcDtccpfAttcf&username={username}password={password}JSFormSubmit=off&login.x=0&login.y=0? 16777217Uxy HTTP/1.1^M Host: 192.168.1.39:83^M User-Agent: Mozilla_CA/4.79 [en] (X11; U; Linux 2.4.18-3d_epoll i686)^MAccept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.^M Accept-Encoding: gzip, deflate, compress;q=0.9^M Keep-Alive: 300^M Connection: keep-alive^M Content-Type: application/x-www-form-urlencoded16777218^M Accept-Language: ^RZ16777219^M ^M cavisson systems

Unique no. generated is different at all places as we have used ‘use’. Also we can see here that each time new no. is incremented by 1 cavisson systems