Jump to content


Photo

Accessing Profile Name as A Variable


  • Please log in to reply
3 replies to this topic

#1 JohnPMurray

JohnPMurray

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 28 June 2017 - 06:41 PM

Hi Team,

 

I was wondering if there was a way to get the name of a profile in the WAPT tool from within that profile.

 

I've been using the tool to write some of the results to a database, and I want to be able to record which profile was run without hard coding the profile name into the database call.

 

Thanks,

John



#2 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 29 June 2017 - 03:39 AM

Unfortunately you can't get a profile name from within the profile.

You can create an initial variable with the profile name and use it whenever you need.


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

#3 JohnPMurray

JohnPMurray

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 29 June 2017 - 07:27 PM

Where is the program getting the profile name from when the test execution report is generated?

 

Is there no way for me to access it in the same way?

 

Even being able to pull the file name would suffice.



#4 Sergei Leonov

Sergei Leonov

    Advanced Member

  • Administrators
  • PipPipPip
  • 661 posts

Posted 03 July 2017 - 07:36 AM

There is no way to get the profile name from within the profile.

Why don't you want to use an initial variable with the profile name?

Please, describe your needs more carefully maybe I will be able to offer some solution.


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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users