From user-return-47429-archive-asf-public=cust-asf.ponee.io@jmeter.apache.org Sat Mar 9 18:54:12 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E11EB18062C for ; Sat, 9 Mar 2019 19:54:11 +0100 (CET) Received: (qmail 80898 invoked by uid 500); 9 Mar 2019 18:54:10 -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 80887 invoked by uid 99); 9 Mar 2019 18:54:10 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Mar 2019 18:54:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3F268C2DDE for ; Sat, 9 Mar 2019 18:54:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.8 X-Spam-Level: * X-Spam-Status: No, score=1.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=go-mmt.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xfbJ0lRhdIEk for ; Sat, 9 Mar 2019 18:54:08 +0000 (UTC) Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 69F6D5F432 for ; Sat, 9 Mar 2019 18:45:02 +0000 (UTC) Received: by mail-ed1-f51.google.com with SMTP id h58so726973edb.5 for ; Sat, 09 Mar 2019 10:45:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=go-mmt.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ECm/HP1wvzcYZyTmOP8RyTi2Y9sKJtKpOJ7jSbvVPvo=; b=M2neD9uUZlv6g/XOWdqW3E8wRCbFerQfzz9qflTZMbd9DwuCYxQoD0T5qYkS8/wTGd xXwzE/4p8w3nhIWwkiPrrk+6i0eAZxc8cYnOnYG5FGtgfAqqNuFoQWxYkMtwGf+505j6 qYWJVgMN478YM3IQnuwfx0S0+0G2AEog7A0EM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ECm/HP1wvzcYZyTmOP8RyTi2Y9sKJtKpOJ7jSbvVPvo=; b=ZmIQCmj3AjRntpYRHreK2MA/vSganZL/oybY1r7hXmQ/mnctIQZQE7SxaCpcQkhvL0 iMI64XNbIEb8NR1PfoG2JWLyAXgjWH66g8EoHZTh6BEKuZtWlcUK8thhsQDK7cwZF2hI s2Ol/HS2DAFYMFmlr9/BymcDyLkcuMHVYUPTCPWhxgwKRAOBFolM7CIWo0A0w+HxF7FJ fvG6h9muQ8yPjqChgIbW2PEtozlVllz36dGSuuemxpz+VPGuROZjKwTB56Du/l7VCuSP duY+IPa8/N0EdJZDhXgaeEUKm/dI2mWem0Dcp+uOJOF8MLVrDGvfdGl/O9L3gzcLQ2nY bjDQ== X-Gm-Message-State: APjAAAVzn8JHJEf9meaOACtJz1O0Qlf6JsHySe5gpfA9Z4BVFSpBo2M+ d7kEHMcAw0GuKETg2feXN1IrMVhXONCHHmBTFcanFNf+S2HfIKBQBbmvWcKiDI/UEuxk+kumcGj 70T696iWKt4XisNPGLyP/8JbUFYMl X-Google-Smtp-Source: APXvYqzcqA6GimlPQRMU1rwhBS7nixo1hAU1I1GGKbiAmVPCsRihGONYL5C9m38q4cleeR8MYn/9bYNA6RlDADMf6S0= X-Received: by 2002:a17:906:1a4c:: with SMTP id j12mr16409121ejf.134.1552157101551; Sat, 09 Mar 2019 10:45:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Prateek Dua Date: Sun, 10 Mar 2019 00:14:49 +0530 Message-ID: Subject: Re: Generate User Id dynamically To: JMeter Users List Cc: JMeter Users List Content-Type: multipart/alternative; boundary="000000000000acd0ef0583adbc02" --000000000000acd0ef0583adbc02 Content-Type: text/plain; charset="UTF-8" pls explain this in a bit detail. On Sat, Mar 9, 2019 at 11:24 PM Deepak Shetty wrote: > Note this doesnt mean if you run the test 2 times it will generate the same > numbers > > On Sat, Mar 9, 2019 at 3:51 AM Prateek Dua wrote: > > > Thank you guys, > > > > I used the function {__threadNum} to input thread id as user id. > > > > On Thu, Mar 7, 2019 at 8:17 PM Indu Gupta > > wrote: > > > > > Hi, > > > > > > You can add below lines in body Data of your request : > > > > > > { > > > "username": user${__Random(0,100)} > > > > > > } > > > > > > This will generate user as user1,user0, user 2 etc. Random number of > > users > > > 0 and 100. > > > > > > > > > > > > Regards, > > > Indu Gupta > > > > > > > > > > > > -----Original Message----- > > > From: Prateek Dua [mailto:prateek.dua@go-mmt.com] > > > Sent: 07 March 2019 12:40 > > > To: JMeter Users List ; JMeter Users > > List > > > > > > Subject: Re: Generate User Id dynamically > > > > > > I meant-- via CSV we have to provide users in sheet & then get them > .But > > > is there any mechanism in Jmeter via we can use directly to create user > > id > > > dynamically & pass as a variable in script. > > > > > > On Thu, Mar 7, 2019 at 8:33 AM Prateek Dua > > wrote: > > > > > > > Hey guys, > > > > > > > > Is there any way to generate unique user ids dynamically to use them > > > > in a script as a variable. > > > > > > > > CSV is the 1 approach to do that but just want to know is there any > > > > mechanism to do that? > > > > -- > > > > sent via device, pls ignore typos. > > > > > > > > > > -- > > > > > > > > > ::DISCLAIMER:: > > > > > > > > > > > > > > > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > > > > > > > > > > > > > > > > > This message is intended only for the use of the addressee and may > > contain > > > information that is privileged, confidential and exempt from disclosure > > > under applicable law. If the reader of this message is not the intended > > > recipient, or the employee or agent responsible for delivering the > > message > > > to the intended recipient, you are hereby notified that any > > dissemination, > > > distribution or copying of this communication is strictly prohibited. > If > > > you have received this e-mail in error, please notify us immediately by > > > return e-mail and delete this e-mail and all attachments from your > > system. > > > > > > > -- > > > > > > ::DISCLAIMER:: > > > > > > > > > ---------------------------------------------------------------------------------------------------------------------------------------------------- > > > > > > > > > > > > This message is intended only for the use of the addressee and may > > contain information that is privileged, confidential and exempt from > > disclosure under applicable law. If the reader of this message is not the > > intended recipient, or the employee or agent responsible for delivering > > the > > message to the intended recipient, you are hereby notified that any > > dissemination, distribution or copying of this communication is strictly > > prohibited. If you have received this e-mail in error, please notify us > > immediately by return e-mail and delete this e-mail and all attachments > > from your system. > > > -- ::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- This message is intended only for the use of the addressee and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify us immediately by return e-mail and delete this e-mail and all attachments from your system. --000000000000acd0ef0583adbc02--