Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@apache.org Received: (qmail 46095 invoked from network); 29 Jul 2002 21:26:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Jul 2002 21:26:55 -0000 Received: (qmail 18048 invoked by uid 97); 29 Jul 2002 21:27:12 -0000 Delivered-To: qmlist-jakarta-archive-jmeter-user@jakarta.apache.org Received: (qmail 17937 invoked by uid 97); 29 Jul 2002 21:27:08 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 17628 invoked by uid 98); 29 Jul 2002 21:27:02 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: From: Chris Wopat To: "'jmeter-user@jakarta.apache.org'" Subject: dynamic sessions Date: Mon, 29 Jul 2002 16:26:09 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I've been searching over the archives but haven't quite found the solution to my 'problem'. I am testing an application which gives a new session id for each new log-in. However, the sesionID is not a standard name/value pair, instead we have ONE name/value pair which holds all of the information (userid, sessionid, screentype, blah blah). It looks something like this: val=userID=25&sessionID=6938&messageType=2&messageSubType=0&originatingPageT ype=0 Notice that it LOOKS like a string of name/value pairs, but really they're all a part of the master 'val' name. I'd imagine you're wondering why this is done; it's because in production we encrypt the url and it looks like our developers took the cheap way out on it :) Anyhow, it seems that I need to parse the string after 'ourval=' and grab the 'sessionID' out of it when JMeter logs in. The next page is a form which actually passes the name/value pair of 'sessionID', along with much other (static) information. I've tried adding 'sessionID=.*' in the http request, but it's a no go. Assertions don't seem to do much for me either, as from what I can tell they will just complain if it doesnt see something in the url/text. I've captured a sequence of pages into JMeter using the http proxy method, but they don't do me much good if I cannot set the appropriate sessionID. Thanks, Chris -- To unsubscribe, e-mail: For additional commands, e-mail: