Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Using ST30 to run ECATT

Former Member
0 Likes
512

Hi

I would like to run an ECATT using ST30

I have created the ECATT using SECATT, with Enable scripting switched on etc.

I have recorded t-code VA03 (Display Sales Order) using the command SAPGUI REC rather than TCD REC.

I am able to run the recording in SECATT without any errors.

1) I now need an idiots guide to complete the ST30 settings to allow me to run the recording.

2) Ideally I want to run the recording every 30minutes without human interaction is this possible

Note - Please do not direct me to SAP help, I have already read this and found it not to be as helpful as it might me

I will also try posting this in the Basis forum

Thanks

Steve

1 REPLY 1
Read only

sachin_b
Product and Topic Expert
Product and Topic Expert
0 Likes
402

Hello Colleague,

Here are the steps that you need to do, to run the eCATT several times ( at one stretch ) using ST30.

  • Use transaction ST30 to invoke Global Performance Analysis ( Widely used for performance tests of certain transactions ).

  • On the eCATT test tab, Key in the folloing data

Log ID ( needs to be created ONLY for the first run ),

Performance test ( logically the entries for Perrformance test field are of the format:

Logid_name/PERF_transaction_name/systemname/client/date ),

Name of the testconfiguration ( You need to create a test configuration for the eCATT to be used in ST30, use the same name for the created Test

configuration as that of the test script ),

No of times the test configuration needs to be run as the preprocessor to create the required backend data, No of times the test configutation needs to

run as processor ( both these fields are filled with 5 and 5 or 5 and 10 respectively for performance measurements, but in your case you can give a 1 and 1

or 0 and 1 in these fields for your requirements )

With all the check boxes in the Programming guidelines and Distributed Statistics Data unchecked ( unless req ). In the data comparison ( use No - option

for With values ).

  • Click on the eCATT test only button to start the performance run using ST30.

Now the procedure stated above makes the eCATT test configuration execute as many times as the sum of pre and pro given by the user AT ONE STRETCH ONLY. But for the requirement of having the eCATT execute after every 30 mins or so, we follow a different approach.

  • We have a VB script that will create a ECA session, call se37, select the required test package and then execute all the required test cases ( eCATTs ) in the

test package and also ensure the KILL ECA session at the end of the execution.

  • We then create a batch file to execute the VB script and call the batch file for our executions

  • In you case, please schedule the execution of the batch file for every 30 mins ( or any such time duration ) using the simple scheduler functionality provided by

Windows.

The only problem with this is that whenever we have some system messages / Software updates / any new screens the scheduling is bound to fail as the called VB script does not handle the new situation. Please also ensure that the user whose Password has been given in the scheduler has to be the user who has logged into the system during the execution period.

So, to summarize : ST30 will only allow you to run the eCATT as many times as required, but only at ONE STRETCH, you need to use the second mechanism to make the eCATT run effectively after a predetermined time without any user interaction.

FYI : A new feature to handle the scheduling of executions is being developed, will post the details when it is available and the usage steps soon.

<removed_by_moderator>

Thanks and best regards,

Sachin

Edited by: Julius Bussche on Oct 16, 2008 2:32 PM