Hi, Kyle, Now, I know what confused me and my computer. Thanks for clearing that out. And hope it won't happen to other people. Avian
-----Original Message----- From: Kyle McAbee [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 10:20 AM To: Liao, Avian Subject: RE: The Regular Expressions Extractor problem Dear Avian Liao: Maybe I am not clear, either! Your regular expression for page X is: > Regular Expression: _processid2=(\w*-\w*-\w*-\w*-\w*) You describe page X this way: > In this X page, ... it looks like '_processid= > 3FFBE12D-09E1-E860-91E4-46CF365BCC46' "_processid2" in the regular expression cannot match "_processid" in the web page. "_processid2" does not match "_processid". "_processid2" matches "_processid2". Maybe you are confusing the search pattern in the regular expression with the reference name. If you use Reference Name of "_processid2", you do not have to use "_processid2" in the Regular Expression. The Regular Expression can be any regular expression. Sincerely yours, Kyle -----Original Message----- From: Liao, Avian [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 12:38 PM To: Kyle McAbee Subject: RE: The Regular Expressions Extractor problem Hi, Kyle, I test my regular expression ouotside of Jmeter, and it works fine. Maybe I did not clear up my question. In my case, in n page, I use regular expression to extract the processid that hide in the n page, and in this page, there is only one set of data that will match this regular expression, and it looks like '_processid = 3FFBE12D-09E3-A044-1A30-139809D60451'. When I continue my test, and execute in X page, I have to extract the exact set of data, but the id is not the same. In this X page, the name still called _processid, it looks like '_processid= 3FFBE12D-09E1-E860-91E4-46CF365BCC46'. I am prettry sure that _processid in N and X page are not the same (I use badboy to confirm this), but the data are identical, so that is why I use same regular expression in both page, and just name the regular expression of x page "_processid2", since I need to serperate these two values. That is what I thought. Hope it will help clear up. Thanks! AL -----Original Message----- From: Kyle McAbee [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 07, 2004 8:48 AM To: Liao, Avian Subject: RE: The Regular Expressions Extractor problem Dear Avian Laio: Your second regular expression contains "_processid2", not "_processid". Does the second web page really contain "_processid2="? _processid2=(\w*-\w*-\w*-\w*-\w*) When I have a problem like this, I test the regular expression outside of JMeter in a regular expression tester: * If it does not work, then I can rewrite the regular expression. * If it does work, then I examine the Regular Expression Extractor settings. The Regular Expression Extractor documentation is hard to understand, in my opinion. I am working on a rewrite that I hope to submit to the developers. Sincerely yours, Kyle -----Original Message----- From: Liao, Avian [mailto:[EMAIL PROTECTED] Sent: Monday, December 06, 2004 8:21 PM To: Kyle McAbee Subject: The Regular Expressions Extractor problem Hi, Kyle, If you have time, do you mind to look at my question, if you don't, just skip my question, still appreciate your time. I thought you may know how to fix this question. ***What I trying to do is using Jmeter's Post-Processors (Regular Expression Extractor) to catch the desired data, and I use: Reference Name:_processid Regular Expression:_processid=(\w*-\w*-\w*-\w*-\w*) Template: $1$ Match No. : 0 It works perfectly when the page only contains one set of this data (e.g .3FFBE12D-9535-872D-F441-C7CB6CF754B8). However, in another page, I am intend to catch the same set of data, so I use Regular Expression Extractor again, and I input almost the exact info in the fields: Reference Name:_processid2 Regular Expression:_processid2=(\w*-\w*-\w*-\w*-\w*) Template: $1$ Match No. : 0 The only different in this page is that there are more than one set of data that will match this regular expressions. I guess it might be the reason that regular expression did not catch anything.Do you have any experiences? Again, thank you very much.... I have been stuck with this issue for a day, so just try to find any help that may be available. AL --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]