Hello, colleagues,
We think the next regular expression function
${__regexFunction(<option value="(.*)"
>File,$1$,${__threadNum},,,refContainerID)}
for various threads from time to time works incorrectly in non-GUI
JMeter mode. It misses results for threads.
We attached log files for cases of correct (Thread32-server answer.txt,
Thread32-correct request.txt) and incorrect (Thread33-server answer.txt,
Thread33-incorrect request.txt) working.
It should work the next way:
for thread 32: ContainerID=47
for thread 33: ContainerID=48 (really ContainerID=49 - it is for another
thread!)
Notes. 1. It happens occasionally (for any thread. Sometimes it doesn’t
happen at all).
2. It seems to depend on number of threads (it doesn't take place for a
few threads). We were
testing for about 100 threads (users)
3. Perhaps it connected with incorrect function "__threadNum" which is
included in regexFunction.
4. We tried some times under JMeter with GUI and it worked fine.
5. We used JMeter (jakarta-jmeter-20040215).
Thanks in advance,
Vladimir
<sampleResult timeStamp="1078919814622" dataType="text" threadName="Thread Group1-32"
label="3" time="1402" responseMessage="OK" responseCode="200" success="true"><property
xml:space="preserve" name="samplerData">GET
http://test.athenium.com/teamthink/rqa1/teamthink?PageHandler=SelectContainer&Title=Open+File&SessionID=2Y2HhUXZicelQOP0IGEJRJKPekCIIhPBjLPY2jqjLKEbhSXkdkgF0bjFB0V
</property><assertionResult failureMessage="" error="false"
failure="false"/><binary><html>
<head>
<script>
var headerTitle = "Open File";
if (parent.header != null && parent.header.updateBannerText != null)
parent.header.updateBannerText(headerTitle);
function toggleContainerSelect(ultimateParentContID){
document.dashForm.ultimateParentContIDForToggle.value = ultimateParentContID;
document.dashForm.toggleViewClicked.value = "yes";
document.dashForm.submit();
}
function doOnLoadStuff(){
}
function showMessage(message) {
messageWindow = window.open('about:blank', 'messageWindow',
'height=210,width=450,resizable=yes');
messageWindow.document.open();
messageWindow.document.write('<html><head><title>TEAMThink</title></head><body><font
face="Helvetica, Arial, sans-serif" size="-1">\n');
messageWindow.document.write(message);
messageWindow.document.write('\n</font></body></html>');
messageWindow.document.close();
}
</script>
<html>
<head>
<style type="text/css">
.slicklink a {
color: black;
text-decoration: none;
}
.slicklink a:visited {
color: black;
text-decoration: none;
}
.slicklink a:hover {
color: black;
text-decoration: underline;
}
</style>
<style type="text/css">
.blacklink a {
color: black;
text-decoration: none;
}
.blacklink a:visited {
color: black;
text-decoration: none;
}
.blacklink a:hover {
color: black;
text-decoration: underline;
}
</style>
</head>
<body bgcolor="#FFFFFF" onLoad="doOnLoadStuff();" >
<br>
<center>
<br>
<table width="80%" border="0" cellpadding="3" cellspacing="0"
bgcolor="#E1E0C2">
<tr>
<td NOWRAP>
<P STYLE="margin-left:19px"><font face="Arial"
size="2"><b>Welcome, BPF Author</b></font>
</P>
</td>
</tr>
<TR>
<TD BGCOLOR="#EEEEEE">
<font face="Arial" size="2">
<P STYLE="margin-left:19px">
Welcome to TEAMThink. Please select what you want to do below.
</P> </FONT>
</TD>
</TR>
</table>
</center>
&nbsp;
<FORM NAME="dashForm"
ACTION="/teamthink/rqa1/teamthink?SessionID=2Y2HhUXZicelQOP0IGEJRJKPekCIIhPBjLPY2jqjLKEbhSXkdkgF0bjFB0V&SequencedCounter=8357785215443735679"
METHOD="GET">
<input type=hidden name="SessionID"
value="2Y2HhUXZicelQOP0IGEJRJKPekCIIhPBjLPY2jqjLKEbhSXkdkgF0bjFB0V"> <input
type=hidden name="SequencedCounter" value="8357785215443735680"> <input
type="hidden" name="PageHandler" value="SelectContainer.DashboardModuleSelect">
<INPUT Type="HIDDEN"
NAME="toggleViewClicked" value="">
<INPUT Type="HIDDEN"
NAME="ultimateParentContIDForToggle" value="">
</FORM>
<table align=center WIDTH="80%" CELLSPACING=0 BORDER=0>
<FORM
ACTION="/teamthink/rqa1/teamthink?SessionID=2Y2HhUXZicelQOP0IGEJRJKPekCIIhPBjLPY2jqjLKEbhSXkdkgF0bjFB0V&SequencedCounter=8357785215443735676"
METHOD="GET">
<input type=hidden name="SessionID"
value="2Y2HhUXZicelQOP0IGEJRJKPekCIIhPBjLPY2jqjLKEbhSXkdkgF0bjFB0V"> <input
type=hidden name="SequencedCounter" value="8357785215443735677"> <input
type="hidden" name="PageHandler" value="SelectContainer.DashboardModuleSelect">
<input type="hidden" name="FilterWhat" value="3">
<TR>
<TD>
<TABLE WIDTH="100%" CELLSPACING="0">
<tr>
<td vAlign="center" width="17" bgColor="#E1E0C2"
rowspan="2">
<font size="2">
<a
href="javascript:toggleContainerSelect(3);"><img
src="/teamthink/rqa1/images/blueTriangle-DOWN.gif" border="0" ALT="click to close
"></a>
&nbsp;
</font>
</td>
<td bgcolor="#E1E0C2" ALIGN="Left"
rowspan="2" >
<font
face="Arial"><b><font size="2">Best Practice
File</font></b></font></td>
<td width="25%" bgcolor="#E1E0C2"
ALIGN="RIGHT"><font face="Arial" size="1"><b>File
Name
Contains:</b></font></td>
<td width="40%" bgcolor="#E1E0C2">
<input type="text"
name="FilterString" size="24" onFocus="if (FilterString.value=='')
FilterString.value=''" value="">
</td>
<td width="10%" bgcolor="#E1E0C2">
<input type="submit" name="Filter"
value="Search" onClick="if (FilterString.value=='') { alert('You must enter a search
string first.'); return false;} else {return true;}">
</td>
<td width="10%" bgcolor="#E1E0C2">
<input type="submit" name="Reset"
value="Reset">
</td>
</tr>
<tr>
<td width="10%" bgcolor="#E1E0C2"
ALIGN="RIGHT"><font face="Arial" size="1"><b>Files
Found:</b></font></td>
<td width="20%" bgcolor="#E1E0C2">
<font face="Arial">
<SMALL>
<SELECT
NAME="ContainerID"><option value="16" >File 1</option>
<option value="17" >File 2</option>
<option value="18" >File 3</option>
<option value="19" >File 4</option>
<option value="20" >File 5</option>
<option value="21" >File 6</option>
<option value="22" >File 7</option>
<option value="23" >File 8</option>
<option value="24" >File 9</option>
<option value="25" >File 10</option>
<option value="26" >File 11</option>
<option value="27" >File 12</option>
<option value="28" >File 13</option>
<option value="29" >File 14</option>
<option value="30" >File 15</option>
<option value="31" >File 16</option>
<option value="32" >File 17</option>
<option value="33" >File 18</option>
<option value="34" >File 19</option>
<option value="35" >File 20</option>
<option value="36" >File 21</option>
<option value="37" >File 22</option>
<option value="38" >File 23</option>
<option value="39" >File 24</option>
<option value="40" >File 25</option>
<option value="41" >File 26</option>
<option value="42" >File 27</option>
<option value="43" >File 28</option>
<option value="44" >File 29</option>
<option value="45" >File 30</option>
<option value="46" >File 31</option>
<option value="47" >File 32</option>
<option value="48" >File 33</option>
<option value="49" >File 34</option>
<option value="50" >File 35</option>
<option value="51" >File 36</option>
<option value="52" >File 37</option>
<option value="53" >File 38</option>
<option value="54" >File 39</option>
<option value="55" >File 40</option>
<option value="56" >File 41</option>
<option value="57" >File 42</option>
<option value="58" >File 43</option>
<option value="59" >File 44</option>
<option value="60" >File 45</option>
<option value="61" >File 46</option>
<option value="62" >File 47</option>
<option value="63" >File 48</option>
<option value="64" >File 49</option>
<option value="65" >File 50</option>
<option value="66" >File 51</option>
<option value="67" >File 52</option>
<option value="68" >File 53</option>
<option value="69" >File 54</option>
<option value="70" >File 55</option>
<option value="71" >File 56</option>
<option value="72" >File 57</option>
<option value="73" >File 58</option>
<option value="74" >File 59</option>
<option value="75" >File 60</option>
<option value="76" >File 61</option>
<option value="77" >File 62</option>
<option value="78" >File 63</option>
<option value="79" >File 64</option>
<option value="80" >File 65</option>
<option value="81" >File 66</option>
<option value="82" >File 67</option>
<option value="83" >File 68</option>
<option value="84" >File 69</option>
<option value="85" >File 70</option>
<option value="86" >File 71</option>
<option value="87" >File 72</option>
<option value="88" >File 73</option>
<option value="89" >File 74</option>
<option value="90" >File 75</option>
<option value="91" >File 76</option>
<option value="92" >File 77</option>
<option value="93" >File 78</option>
<option value="94" >File 79</option>
<option value="95" >File 80</option>
<option value="96" >File 81</option>
<option value="97" >File 82</option>
<option value="98" >File 83</option>
<option value="99" >File 84</option>
<option value="100" >File 85</option>
<option value="101" >File 86</option>
<option value="102" >File 87</option>
<option value="103" >File 88</option>
<option value="104" >File 89</option>
<option value="105" >File 90</option>
<option value="106" >File 91</option>
<option value="107" >File 92</option>
<option value="108" >File 93</option>
<option value="109" >File 94</option>
<option value="110" >File 95</option>
<option value="111" >File 96</option>
<option value="112" >File 97</option>
<option value="113" >File 98</option>
<option value="114" >File 99</option>
<option value="115" >File 100</option>
</SELECT>
</SMALL></font></td>
<td width="33%" bgcolor="#E1E0C2"
ALIGN="LEFT" COLSPAN="2">
<font face="Arial"><small>
<input type="Submit" value=" Open "
name="OpenContainer" onClick="if (true) { if
(ContainerID.options[ContainerID.selectedIndex].value == '-1') { alert('This File is
not available at the moment.'); return false; } else { target='_top';return true}}
else {alert('You must use the search first.');return false} ">
</SMALL></font></td>
</TR>
<TR>
<TD>
&nbsp;
</TD>
</TR>
</TABLE>
</TD>
</TR>
</form>
</table>
<CENTER>
<CENTER>
</html>
</binary></sampleResult>
GET
http://test.athenium.com/teamthink/rqa1/teamthink?PageHandler=Frame.TopFrame&Body=SelectContainer&Title=Open+File&OnlyLogout=1&ContainerID=47&SessionID=2Y2HhUXZicelQOP0IGEJRJKPekCIIhPBjLPY2jqjLKEbhSXkdkgF0bjFB0V
<sampleResult timeStamp="1078919822103" dataType="text" threadName="Thread Group1-33"
label="3" time="641" responseMessage="OK" responseCode="200" success="true"><property
xml:space="preserve" name="samplerData">GET
http://test.athenium.com/teamthink/rqa1/teamthink?PageHandler=SelectContainer&Title=Open+File&SessionID=MkFHYOabAUPcYHlEnhQSDfrAFA0jMJKVqrjKhpAVCnripU2kPpiIgIqE
</property><assertionResult failureMessage="" error="false"
failure="false"/><binary><html>
<head>
<script>
var headerTitle = "Open File";
if (parent.header != null && parent.header.updateBannerText != null)
parent.header.updateBannerText(headerTitle);
function toggleContainerSelect(ultimateParentContID){
document.dashForm.ultimateParentContIDForToggle.value = ultimateParentContID;
document.dashForm.toggleViewClicked.value = "yes";
document.dashForm.submit();
}
function doOnLoadStuff(){
}
function showMessage(message) {
messageWindow = window.open('about:blank', 'messageWindow',
'height=210,width=450,resizable=yes');
messageWindow.document.open();
messageWindow.document.write('<html><head><title>TEAMThink</title></head><body><font
face="Helvetica, Arial, sans-serif" size="-1">\n');
messageWindow.document.write(message);
messageWindow.document.write('\n</font></body></html>');
messageWindow.document.close();
}
</script>
<html>
<head>
<style type="text/css">
.slicklink a {
color: black;
text-decoration: none;
}
.slicklink a:visited {
color: black;
text-decoration: none;
}
.slicklink a:hover {
color: black;
text-decoration: underline;
}
</style>
<style type="text/css">
.blacklink a {
color: black;
text-decoration: none;
}
.blacklink a:visited {
color: black;
text-decoration: none;
}
.blacklink a:hover {
color: black;
text-decoration: underline;
}
</style>
</head>
<body bgcolor="#FFFFFF" onLoad="doOnLoadStuff();" >
<br>
<center>
<br>
<table width="80%" border="0" cellpadding="3" cellspacing="0"
bgcolor="#E1E0C2">
<tr>
<td NOWRAP>
<P STYLE="margin-left:19px"><font face="Arial"
size="2"><b>Welcome, BPF Author</b></font>
</P>
</td>
</tr>
<TR>
<TD BGCOLOR="#EEEEEE">
<font face="Arial" size="2">
<P STYLE="margin-left:19px">
Welcome to TEAMThink. Please select what you want to do below.
</P> </FONT>
</TD>
</TR>
</table>
</center>
&nbsp;
<FORM NAME="dashForm"
ACTION="/teamthink/rqa1/teamthink?SessionID=MkFHYOabAUPcYHlEnhQSDfrAFA0jMJKVqrjKhpAVCnripU2kPpiIgIqE&SequencedCounter=-8978004518162250218"
METHOD="GET">
<input type=hidden name="SessionID"
value="MkFHYOabAUPcYHlEnhQSDfrAFA0jMJKVqrjKhpAVCnripU2kPpiIgIqE"> <input
type=hidden name="SequencedCounter" value="-8978004518162250217"> <input
type="hidden" name="PageHandler" value="SelectContainer.DashboardModuleSelect">
<INPUT Type="HIDDEN"
NAME="toggleViewClicked" value="">
<INPUT Type="HIDDEN"
NAME="ultimateParentContIDForToggle" value="">
</FORM>
<table align=center WIDTH="80%" CELLSPACING=0 BORDER=0>
<FORM
ACTION="/teamthink/rqa1/teamthink?SessionID=MkFHYOabAUPcYHlEnhQSDfrAFA0jMJKVqrjKhpAVCnripU2kPpiIgIqE&SequencedCounter=-8978004518162250221"
METHOD="GET">
<input type=hidden name="SessionID"
value="MkFHYOabAUPcYHlEnhQSDfrAFA0jMJKVqrjKhpAVCnripU2kPpiIgIqE"> <input
type=hidden name="SequencedCounter" value="-8978004518162250220"> <input
type="hidden" name="PageHandler" value="SelectContainer.DashboardModuleSelect">
<input type="hidden" name="FilterWhat" value="3">
<TR>
<TD>
<TABLE WIDTH="100%" CELLSPACING="0">
<tr>
<td vAlign="center" width="17" bgColor="#E1E0C2"
rowspan="2">
<font size="2">
<a
href="javascript:toggleContainerSelect(3);"><img
src="/teamthink/rqa1/images/blueTriangle-DOWN.gif" border="0" ALT="click to close
"></a>
&nbsp;
</font>
</td>
<td bgcolor="#E1E0C2" ALIGN="Left"
rowspan="2" >
<font
face="Arial"><b><font size="2">Best Practice
File</font></b></font></td>
<td width="25%" bgcolor="#E1E0C2"
ALIGN="RIGHT"><font face="Arial" size="1"><b>File
Name
Contains:</b></font></td>
<td width="40%" bgcolor="#E1E0C2">
<input type="text"
name="FilterString" size="24" onFocus="if (FilterString.value=='')
FilterString.value=''" value="">
</td>
<td width="10%" bgcolor="#E1E0C2">
<input type="submit" name="Filter"
value="Search" onClick="if (FilterString.value=='') { alert('You must enter a search
string first.'); return false;} else {return true;}">
</td>
<td width="10%" bgcolor="#E1E0C2">
<input type="submit" name="Reset"
value="Reset">
</td>
</tr>
<tr>
<td width="10%" bgcolor="#E1E0C2"
ALIGN="RIGHT"><font face="Arial" size="1"><b>Files
Found:</b></font></td>
<td width="20%" bgcolor="#E1E0C2">
<font face="Arial">
<SMALL>
<SELECT
NAME="ContainerID"><option value="16" >File 1</option>
<option value="17" >File 2</option>
<option value="18" >File 3</option>
<option value="19" >File 4</option>
<option value="20" >File 5</option>
<option value="21" >File 6</option>
<option value="22" >File 7</option>
<option value="23" >File 8</option>
<option value="24" >File 9</option>
<option value="25" >File 10</option>
<option value="26" >File 11</option>
<option value="27" >File 12</option>
<option value="28" >File 13</option>
<option value="29" >File 14</option>
<option value="30" >File 15</option>
<option value="31" >File 16</option>
<option value="32" >File 17</option>
<option value="33" >File 18</option>
<option value="34" >File 19</option>
<option value="35" >File 20</option>
<option value="36" >File 21</option>
<option value="37" >File 22</option>
<option value="38" >File 23</option>
<option value="39" >File 24</option>
<option value="40" >File 25</option>
<option value="41" >File 26</option>
<option value="42" >File 27</option>
<option value="43" >File 28</option>
<option value="44" >File 29</option>
<option value="45" >File 30</option>
<option value="46" >File 31</option>
<option value="47" >File 32</option>
<option value="48" >File 33</option>
<option value="49" >File 34</option>
<option value="50" >File 35</option>
<option value="51" >File 36</option>
<option value="52" >File 37</option>
<option value="53" >File 38</option>
<option value="54" >File 39</option>
<option value="55" >File 40</option>
<option value="56" >File 41</option>
<option value="57" >File 42</option>
<option value="58" >File 43</option>
<option value="59" >File 44</option>
<option value="60" >File 45</option>
<option value="61" >File 46</option>
<option value="62" >File 47</option>
<option value="63" >File 48</option>
<option value="64" >File 49</option>
<option value="65" >File 50</option>
<option value="66" >File 51</option>
<option value="67" >File 52</option>
<option value="68" >File 53</option>
<option value="69" >File 54</option>
<option value="70" >File 55</option>
<option value="71" >File 56</option>
<option value="72" >File 57</option>
<option value="73" >File 58</option>
<option value="74" >File 59</option>
<option value="75" >File 60</option>
<option value="76" >File 61</option>
<option value="77" >File 62</option>
<option value="78" >File 63</option>
<option value="79" >File 64</option>
<option value="80" >File 65</option>
<option value="81" >File 66</option>
<option value="82" >File 67</option>
<option value="83" >File 68</option>
<option value="84" >File 69</option>
<option value="85" >File 70</option>
<option value="86" >File 71</option>
<option value="87" >File 72</option>
<option value="88" >File 73</option>
<option value="89" >File 74</option>
<option value="90" >File 75</option>
<option value="91" >File 76</option>
<option value="92" >File 77</option>
<option value="93" >File 78</option>
<option value="94" >File 79</option>
<option value="95" >File 80</option>
<option value="96" >File 81</option>
<option value="97" >File 82</option>
<option value="98" >File 83</option>
<option value="99" >File 84</option>
<option value="100" >File 85</option>
<option value="101" >File 86</option>
<option value="102" >File 87</option>
<option value="103" >File 88</option>
<option value="104" >File 89</option>
<option value="105" >File 90</option>
<option value="106" >File 91</option>
<option value="107" >File 92</option>
<option value="108" >File 93</option>
<option value="109" >File 94</option>
<option value="110" >File 95</option>
<option value="111" >File 96</option>
<option value="112" >File 97</option>
<option value="113" >File 98</option>
<option value="114" >File 99</option>
<option value="115" >File 100</option>
</SELECT>
</SMALL></font></td>
<td width="33%" bgcolor="#E1E0C2"
ALIGN="LEFT" COLSPAN="2">
<font face="Arial"><small>
<input type="Submit" value=" Open "
name="OpenContainer" onClick="if (true) { if
(ContainerID.options[ContainerID.selectedIndex].value == '-1') { alert('This File is
not available at the moment.'); return false; } else { target='_top';return true}}
else {alert('You must use the search first.');return false} ">
</SMALL></font></td>
</TR>
<TR>
<TD>
&nbsp;
</TD>
</TR>
</TABLE>
</TD>
</TR>
</form>
</table>
<CENTER>
<CENTER>
</html>
</binary></sampleResult>
GET
http://test.athenium.com/teamthink/rqa1/teamthink?PageHandler=Frame.TopFrame&Body=SelectContainer&Title=Open+File&OnlyLogout=1&ContainerID=49&SessionID=MkFHYOabAUPcYHlEnhQSDfrAFA0jMJKVqrjKhpAVCnripU2kPpiIgIqE
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]