Jump to content


Photo

Server Port not Dynamic

Port

  • Please log in to reply
7 replies to this topic

#1 mridley

mridley

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 29 October 2014 - 11:18 PM

Hi,

 

WAPT lets you specify a variable for the Server

But it does not let you specify a variable for the Port.

 

The scenario I am trying to support is

 

Logon to initial URL

Logon load balance occurs - via a REDIRECT contained within a link.

This link contains a different URL which containis a different Server:Port .

 

We can capture the Server, and the Port, from the REDIRECT.

We can change the Server property to be "$Var(RLink)" - where RLink is the Server name from the REDIRECT URL

But - we cannot change the Port property to be from a variable - which is also populated from the REDIRECT URL

 

If the Ports for the various Servers involved are different - then we cannot use WAPT to replay traffic by going via the logon load balancing mechanism

 

Is there a way to specify a variable that can be used to determine the PORT for the Server - at runtime?

This would also provide WAPT profile portability between environments - where the Server and Port ranges can often be different.

 

Thanks



#2 mridley

mridley

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 30 October 2014 - 02:27 AM

Hi,

 

Can the Server Port parameter be changed to take its value from a Variable?

The test scenario I cannot complete at the moment is:

 

We login to an initial fixed URL

Logon load balancing then occurs, and we receive a REDIRECT via a URL link.

We use Search variables to grab the SERVER and the PORT from the REDIRECT link.

One subsequent pages - we replace the originally captured SERVER value with the Search variable - so the SERVER value is dynamically set at runtime.

This way we correctly move to the server we have been redirected to by the logon load balance

 

We also need to set the PORT value in the same fashion.

The reason we need to set the PORT value in the same fashion - is due to the PORT number being different for different SERVERs.

At present - the PORT value at runtime has to remain the same for all traffic for the duration of each session.

This means all SERVERs have to have the same PORT value.

When one SERVER has a different PORT value than the others - then each WAPT session that is load balanced to this server will fail.

 

Thanks



#3 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 660 posts

Posted 30 October 2014 - 10:44 AM

We will add this option tomorrow and give you a special build.


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#4 mridley

mridley

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 30 October 2014 - 10:18 PM

That would be great - Thanks Sergei



#5 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 660 posts

Posted 31 October 2014 - 06:50 AM

You can download the latest build from http://www.loadtesti...m/forum/builds/

Now you can use $Var function for the Port.


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#6 mridley

mridley

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 31 October 2014 - 07:00 AM

Thanks Sergei.

So the latest build is "WAPTPro3.5.zip 31-Oct-2014 02:20"

 

I have WAPT Pro 3.1 installed - which was installed in March 2014.

 

Do I uninstall 3.1 first, then execute "WAPTPro3.5.exe" to install the latest build?



#7 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 660 posts

Posted 31 October 2014 - 07:20 AM

You can leave WAPT Pro 3.1 installation but in this case you can face some problems. 

So I recommend you to uninstall 3.1 first.


Sergei Leonov
WAPT Project Manager
SoftLogica LLC

Office: +7-383-335-6692
Toll-free: 1-888-364-6797 (for US only)
Time zone GMT +6, EST +11
E-mail: support@loadtestingtool.com
http://www.loadtestingtool.com

#8 mridley

mridley

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 31 October 2014 - 07:41 AM

Uninstalled 3.1

Installed 3.5

Opened up existing scenario/profile - got converted from 3.1 to 3.5

Made the change for Server Port to be specified by a variable.

And the Initial test looks good/passed - successfully worked against 2 servers with .

 

Thank you Sergei






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users