Highlighted
Absent Member.
Absent Member.
3726 views

MeasureSetBound

Jump to solution

Hi,

I have about 10 custom timers. For 6 of them I set a bound of 3s and 5s. For the other 4 bounds I don't want to see the small graphics in the sam report with the default of 8s and 16s.

Is it possible to switch off these graphics in the Overview Report?

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MeasureSetBound

Jump to solution

I did the following:

In my script I've 8 measures: A_timer, B_timer, ... H_timer
  ...
  begin
    MeasureStart("A_timer");
    thinktime(2.0);
    MeasureStop ("A_timer");
    ...        
    MeasureStart("H_timer");
    thinktime(2.0);
    MeasureStop ("H_timer");
  end TMain;
    
    
I did a Find Baseline and set it as baseline.

Afterwards I did start the Automatic Threshold Generation (either by clicking Set response time thresholds in the Baseline Summary or choosing Project - Set Response Time Thresholds...) and selected what I am interested in.

After clicking OK the Project Attributes got generated.

I then opened the Project Attributes Configuration dialog by clicking Project - Project Attributes...

I removed the 2 rows:
#Measure.CustomTimer.MinBound1
#Measure.CustomTimer.MinBound2
as these are the default values for all custom timers:



In the value column I searched for the measures I am not interested in. In this example I decided to ignore C_timer and E_timer and changed the name of the measure to a values which does not exist, e.g. ignore_me_01 and ignore_me_02:




That's it Smile

Cheers,
Thomas

View solution in original post

0 Likes
11 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MeasureSetBound

Jump to solution

Dear Mr Schuster,

It is possible to change the hard-coded 8 second value (and the icon used) by editing the VUserReport.xsl at "C:\Program Files (x86)\Silk\Silk Performer 16.0\Include".

For example:

<xsl:when expr="AvgPageTime >= 8">

Best Regards,

Neil

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MeasureSetBound

Jump to solution

I use SP 15.5. The only line in VUserReport.xsl with AvgPageTime >= 8 is a comment:

<!-- if no errors and AvgPageTime >= 8 sec. then warning -->

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MeasureSetBound

Jump to solution

Dear Mr Schuster,

In 15.5 there are the following:

Line 1254:

                 <xsl:when expr="AvgPageTime >= 8">

                   <td align='left' style='font-size:13px'>

                     <img border='0' align='left' valign='center'><xsl:attribute name="alt"><!--BEGINLOC-->Warning<!--ENDLOC--></xsl:attribute>

                       <xsl:attribute name='src'>

                         Warning.gif

                       </xsl:attribute>

                     </img>

Line 1303:

                         <xsl:when expr="AvgPageTime < 8">

                           <!-- <xsl:eval>GetFormatedTimeSpan(AvgPageTime)</xsl:eval> -->

                           <xsl:eval>FormatNumber(AvgPageTime, "0.000")</xsl:eval>

                         </xsl:when>

                         <xsl:otherwise>

                           <font color="#ff0000">

Best Regards,

Neil

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MeasureSetBound

Jump to solution

Hm, so what should I do? I have no knowledge of xsl. I tried to delete these two blocks but nothing changed in my Overview Report.

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MeasureSetBound

Jump to solution

Dear Mr Schuster,

You should try changing the value from "8" to a higher number.

This will not affect Overview Reports that have already been generated.

Best Regards,

Neil

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MeasureSetBound

Jump to solution

This could also be done with MeasureSetBound I think. What I need is a possibility for only some timer not to display the icon and the two default bounds of 8 and 16.

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MeasureSetBound

Jump to solution

Hello,

if I understand correctly, then you would just need to remove the not-wanted measures from the Project attributes.

For example in the below screenshot only for "A_timer" the histogram is populated, while for "B_timer" - which I've removed from the attributes list - it is not:

Cheers,

Thomas

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MeasureSetBound

Jump to solution

That's exactly what I need.

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MeasureSetBound

Jump to solution

How Did you do that?

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MeasureSetBound

Jump to solution

I did the following:

In my script I've 8 measures: A_timer, B_timer, ... H_timer
  ...
  begin
    MeasureStart("A_timer");
    thinktime(2.0);
    MeasureStop ("A_timer");
    ...        
    MeasureStart("H_timer");
    thinktime(2.0);
    MeasureStop ("H_timer");
  end TMain;
    
    
I did a Find Baseline and set it as baseline.

Afterwards I did start the Automatic Threshold Generation (either by clicking Set response time thresholds in the Baseline Summary or choosing Project - Set Response Time Thresholds...) and selected what I am interested in.

After clicking OK the Project Attributes got generated.

I then opened the Project Attributes Configuration dialog by clicking Project - Project Attributes...

I removed the 2 rows:
#Measure.CustomTimer.MinBound1
#Measure.CustomTimer.MinBound2
as these are the default values for all custom timers:



In the value column I searched for the measures I am not interested in. In this example I decided to ignore C_timer and E_timer and changed the name of the measure to a values which does not exist, e.g. ignore_me_01 and ignore_me_02:




That's it Smile

Cheers,
Thomas

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MeasureSetBound

Jump to solution

Thx

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.