Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 82A6410571 for ; Mon, 4 Nov 2013 10:01:00 +0000 (UTC) Received: (qmail 7152 invoked by uid 500); 4 Nov 2013 10:00:56 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 7069 invoked by uid 500); 4 Nov 2013 10:00:50 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 7045 invoked by uid 99); 4 Nov 2013 10:00:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 10:00:48 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Ronan.Lanigan@fmr.com designates 155.199.16.10 as permitted sender) Received: from [155.199.16.10] (HELO msginmsm06vapp.fmr.com) (155.199.16.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Nov 2013 10:00:42 +0000 Received: from msgdalhc02win.DMN1.FMR.COM (msgdalhc02win.dmn1.fmr.com [10.41.181.38]) by msginmsm06vapp.fmr.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.1) with ESMTP id rA4A0KmF031642 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=FAIL) for ; Mon, 4 Nov 2013 10:00:21 GMT X-DKIM: OpenDKIM Filter v2.1.3 msginmsm06vapp.fmr.com rA4A0KmF031642 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fmr.com; s=2012-05-26; t=1383559221; bh=527I84/4kHux2Fc2s1GPi53HDpLXCdXduJ7CuaPdBAY=; h=From:To:Date:Subject:Message-ID:References:In-Reply-To: Content-Type:Content-Transfer-Encoding:MIME-Version; b=OMIMHLQ551yEOTeRhPFNLFDYoobO+D5ChB5KlA9n5/hXHArJtz9M9235r72LmLg7/ MMHpZXwO2WEIZvxTEbkOto0sc6STZXZWT7H1mDRIDPqAPgqwLEr2766vpvdc2MeiEl 9JY7DwwcXJ7oJOKY7suAKEGsw1jki03RqTWEeEPc= Received: from MSGDALCCRC2WIN.DMN1.FMR.COM ([10.140.11.32]) by msgdalhc02win.DMN1.FMR.COM ([10.41.181.38]) with mapi; Mon, 4 Nov 2013 04:00:20 -0600 From: "Lanigan, Ronan" To: JMeter Users List Date: Mon, 4 Nov 2013 04:00:20 -0600 Subject: RE: Validate XML element and attribute values in HTTP response Thread-Topic: Validate XML element and attribute values in HTTP response Thread-Index: Ac7YfqD4sOSDtZ2NTvOBnzQWtW0TBAAxd5ig Message-ID: <575CF58C5C40AA4DA7F2832F69228CB8011976EF7D42@MSGDALCCRC2WIN.DMN1.FMR.COM> References: <575CF58C5C40AA4DA7F2832F69228CB8011976E60C0D@MSGDALCCRC2WIN.DMN1.FMR.COM> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Thanks so much for the reply. You're right, I am trying to do functional testing, and I did consider soap= ui before. I found that difficult to use also. I might try and look into t= hat again. Appreciate the input. The information in this email and subsequent attachments may contain confid= ential information that is intended solely for the attention and use of the= named addressee(s). This message or any part thereof must not be disclosed= , copied, distributed or retained by any person without authorization from = Fidelity Investments. -----Original Message----- From: Janusz Kowalczyk [mailto:kowalczykjanusz@gmail.com]=20 Sent: 03 November 2013 10:22 To: JMeter Users List Subject: Re: Validate XML element and attribute values in HTTP response It seems to me that what you're trying to do is functional testing not load testing. Try using free version of soapui instead. It works really nicely with XMLs, has plenty of features to quickly design tests. Can be executed on Jekins etc and support java/groovy scripting. On 31 Oct 2013 09:38, "Lanigan, Ronan" wrote: > Hello. > > I am working to automate the functional testing of my application which > returns xml over http. The XML returned can be complex, and I want to be > able to write tests to validate the data returned in particular elements > and/or attributes. > > In some cases, I'd like to verify that a value is not empty, but also > validate it's format (it's length for example). What would be the best wa= y > to achieve this? > > Thanks! > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org For additional commands, e-mail: user-help@jmeter.apache.org