JMeter tutorial 20-BeanShell Script Part-1|Introduction to Variable| Beanshell Sampler| PreProcessor

Поделиться
HTML-код
  • Опубликовано: 11 дек 2024

Комментарии • 74

  • @siriworld8585
    @siriworld8585 5 лет назад +3

    super mam ur videos please upload more videos

  • @abdelaziznassif3845
    @abdelaziznassif3845 3 года назад +4

    This is the easiest & most understandable & most complete Jmeter playlist on the internet.. thank you for this knowledge

  • @parveenmehta8504
    @parveenmehta8504 3 года назад +2

    Thanks Quality Assurance Lab

  • @sudhirsadanala9342
    @sudhirsadanala9342 3 месяца назад

    Very well explained the concepts of bean shell, thanks

  • @rahulkumar-kh6zk
    @rahulkumar-kh6zk Год назад

    Very well and simple explanation , thanks!

  • @yourworld4786
    @yourworld4786 4 года назад +1

    I like you videos, very informative please keep making more videos

  • @priya4159
    @priya4159 Год назад

    Hi, clearly explained.. thank you

  • @iMadeThisThat
    @iMadeThisThat 4 года назад +2

    Great JMeter videos but I really wished you could have used light theme in Jmeter instead of a dark theme.

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 года назад

      Yeah! very sorry about that

    • @iMadeThisThat
      @iMadeThisThat 4 года назад +1

      Quality Assurance Lab Thanks for the reply! Wish you good luck. And waiting for more learning from you 😊

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 года назад

      @@iMadeThisThat Thank you, please let me know if you want video on any specific topic.

  • @Travel_EasyBro
    @Travel_EasyBro 5 лет назад +1

    Very good video miss

  • @metooyesmum
    @metooyesmum 4 года назад +1

    very good....carry on

  • @ivanlloyd1061
    @ivanlloyd1061 3 года назад

    Very understanding. Thank you

  • @ugaledattatray8738
    @ugaledattatray8738 21 день назад

    Hi Mam, My jmeter version is 5.5 but in that when im click on log viewer that time log window open but logs not show.
    Have any other option for these activity then pleade let me know.

  • @pritamdey7531
    @pritamdey7531 4 года назад +1

    Awesome..... Can u pls make a video regarding integer variable in beanshell scripting and how to pass to next requests or use in IF controller.

    • @shirsN
      @shirsN 4 года назад

      I am facing issue with this. In my case i have jdbc preprocessor from where I'm pulling a value which can either be null or valid value. Then i pass this value to beanshell preprocessor where i am doing this handling using if. But when i am sending null value to http request it is not working. But if value is value other than null then it wroks

  • @BengaliStrings
    @BengaliStrings 2 года назад

    do you have any video about passing okta token from one thread to another thread?

  • @sriramrao8565
    @sriramrao8565 9 месяцев назад

    How did you get the code which pasted in if block ?

  • @manojmn8006
    @manojmn8006 9 месяцев назад

    hi, i want to perform division of a variable “page” whose value was extracted from a server response and then pass the divison result in the following requests.
    How do i divide the “page” value by 20, what samplers or post processors or pre processors works for division? pleae help

  • @barkatthemoonlunatic1715
    @barkatthemoonlunatic1715 3 года назад +2

    good video. but please have all your notes types out already before taping the video. it could reduce your videos time in 1/2 and keep us from losing attention. it just drags on when we see you typing it out.

  • @pratimchoudhury8638
    @pratimchoudhury8638 6 месяцев назад

    Nice one. Can you please post all your codes (used in this video) in the Description? Thanks.

  • @priya4159
    @priya4159 Год назад

    Hi i have one doubt, i am passing different type of variables through csv but i am not able get the values in request..can you please help me on that. Thank you

  • @SAIKRISHNA-yi4bl
    @SAIKRISHNA-yi4bl 2 месяца назад

    Hello mam i have a carrer gap for 4 years , can i go with by putting 3 years of expereince by ur classes

  • @Hewa60
    @Hewa60 5 месяцев назад

    nice job mam. if possible give tuition.

  • @AtifKhan-te5eg
    @AtifKhan-te5eg 2 года назад

    Hi mam if you upload the video on sha256 key how to add secure hash in jmeter

  • @JMlabs
    @JMlabs 3 года назад

    really helpful

  • @abhishekkr9712
    @abhishekkr9712 3 года назад

    How can we capture and customise scripts of "Secured passwords" and "captcha" through beanshell?

  • @vivekkulkarni2912
    @vivekkulkarni2912 3 года назад

    Hi very nice way of narration. Recently started working on the tool extensively. I'm using JMeter for MQTT Testing. Have a question can I get the Latency value captured and write it to log using Beanshell? Trying to capture latency value in MQTT subscriber sampler. Kindly update me on this.

  • @mohanreddy6516
    @mohanreddy6516 Год назад

    Hi mam, it is stopping the test and I want to execute the subsequent request

  • @farazshaikh3654
    @farazshaikh3654 3 года назад

    Very well explain mam also easy to understand and implement.
    I m facing the issue even after passing the if statement in beanshell for request 2 its not stopping the execution. And execute the second request after failing the first request.
    Please help
    Thanks in advance

  • @karthikbathyala8335
    @karthikbathyala8335 3 года назад

    how to write loop code in JMeter, BeanShell script please explain

  • @wendibian1247
    @wendibian1247 4 года назад +1

    Hi There, thank you for your videos! it is really helpful. I have one question, in previous video, var is thread scope. How about ctx, is it thread scope or test plan scope? look forward to hearing from you. thanks!

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 года назад +1

      Glad to know my video is helpful to you!
      Both var and ctx are thread scope. var is an instance of the org.apache.jmeter.threads.JMeterVariables class.And, ctx is an instance of org.apache.jmeter.threads.JMeterContext class.

  • @yourworld4786
    @yourworld4786 4 года назад

    Can you make a video for Taurus and JMeter ?

  • @chandraadari2669
    @chandraadari2669 4 года назад

    I keep getting ERROR o.a.j.u.BeanShellInterpreter: Error invoking bsh method when i tried to execute Beanshell pre-processor .. any help will be much appreciated.
    Thanks,

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 года назад

      Hi,
      could you please share the script where you get this error?

    • @1dikshakadu843
      @1dikshakadu843 3 года назад

      Have u get any resolution for above .. I am also facing the same

    • @1dikshakadu843
      @1dikshakadu843 3 года назад

      Please share your resolution if you get .. I am also facing the same

  • @sanjaygarg6688
    @sanjaygarg6688 4 года назад +1

    Very good videos. I have 1 issue. I am getting 20 response from 1 request and need to run a chain request 1-1 for these 20 responses. Any idea?

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 года назад

      Hi, you can capture 20 response as variables using Correlation. Further, to run a chain request 1-1, use the variables where you have captured 20 response.
      To know about correlation, please refer - ruclips.net/video/gOGXMa08K3s/видео.html

    • @sanjaygarg6688
      @sanjaygarg6688 4 года назад +1

      Thanks for the reply. I am already using correlation. But not getting how to iterate them 1-1. Ex. After hitting a request i am getting 20 cities. Now in next HTTP request, I need to pass city 1-1 to check whether. Please suggest.

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 года назад +1

      Hi @@sanjaygarg6688, Let's say that using correlation you received 20 cities as city_1, city_2.......city_20 . After this, follow the below steps:
      Step 1: Add a Logic Controller -> Loop Controller , with loop count as 20
      Step 2: Under Loop Controller, add Config Element -> Counter . Provide Starting Value -1, Maximum Value - 20, Increment - 1, Exported Variable Name - count . This configuration will store the value from 1 to 20 in the variable "count" every time Loop controller will run (here 20 times)
      Step 3: Under Loop Controller, add HTTP Sampler and name it as city_${count}
      Hope this helps, let me know for further query!

    • @sanjaygarg6688
      @sanjaygarg6688 4 года назад +1

      Thanks a lot. Just one thing, Is there any way to count the responses at run time if don't know how many cities will get.

    • @sanjaygarg6688
      @sanjaygarg6688 4 года назад

      i used below steps but every time it picks same request. I am getting IDs as a response and passing those ids to take further response. To achieve this, first i have used JSON extractor and used the values in variable. Now i have added loop controller and added counter, added function ${__counter(FALSE,)} in HTTP sampler. Please suggest where is an issue.

  • @1dikshakadu843
    @1dikshakadu843 3 года назад

    How this error can be resolve ??.BeanShellInterpreter: Error invoking bsh method: eval Parse error at line 8, column 1 : Error or number too big for integer type: 2991854185

  • @trivi4a6
    @trivi4a6 2 года назад

    hello mam, how can we convert a string to an Int using bean sell postprocessor..i was using Integer.parseInt but its of no use can u pls help me

  • @rajeevnayan9109
    @rajeevnayan9109 2 года назад

    How do we execute shell command in jmeter

  • @gourisankarpanda2995
    @gourisankarpanda2995 2 года назад

    mam how to find length of the stream using beanshell sampler

  • @rahimanshaik6667
    @rahimanshaik6667 Год назад

    "jmeter bin is not recognized as internal or external command error" i am getting

  • @suvendukumar7125
    @suvendukumar7125 4 года назад

    Please change the look and feel to "metal" (i.e) white screen so that the codes will be visible

  • @jaganathadishesha7572
    @jaganathadishesha7572 3 года назад

    Good videos would have been better if theme was white as difficult see the cmd in Bean Shell

  • @1982srikanthj
    @1982srikanthj 4 года назад +1

    Hi Mam, I have 3 HTTP request, I have to pass 2 HTTP request based on condition on HTTPRequest 1 else I have to send HTTP Request 3. Kindly let me know on how to pass this HTTP Request

    • @qualityassurancelab7764
      @qualityassurancelab7764  4 года назад

      Add If controller and provide your condition. Add HTTP Request 2 under the same If controller. By doing this , HTTP Request 2 will be executed only when condition is true. If the condition is false HTTP Request 2 won't be executed.
      Same process you can repeat for HTTP Request 3 as well

  •  3 года назад

    Upvoted in 30 seconds to the video, merely for your accent

  • @RahoulPaatray
    @RahoulPaatray 6 месяцев назад

    Want to execute . sh file from jmeter

  • @suyashtejasvi5641
    @suyashtejasvi5641 5 лет назад

    the video was really very informative..just one question:Suppose my 1st thread is login and 5th thread is ABC ..I want ABC to be run only if login is successful....Can you please tell what comment we will use to do that.

    • @rockykeshri6923
      @rockykeshri6923 5 лет назад

      Please reply to this question, and the above video was great

  • @Crazeboyzz
    @Crazeboyzz Год назад

    Hi maam need your help

  • @ajayvashist9409
    @ajayvashist9409 2 года назад

    Hi Mam, Your videos are really helpful. Please can you tell me how can we store the comma separated elements in an array in a csv file with column name and row values. For ex: "options": [10,11,12,13,14]. The csv output should have 'options' as the column header and 10,11,12,13,14 in the rows below the header.

    • @snehalatha9888
      @snehalatha9888 10 месяцев назад

      D,red😊lol,m,fiuyfvyjjuiujiijz z o z k serf Pom is. I
      😊😅z. ,
      Drg54.
      . Eegf z. Oldsters.f
      R
      Pdfoof
      X
      ,,
      .
      Pro fl
      ,of g xpplpol😊😅xodpi, iflv
      X ,
      I
      X
      X. Polk
      😅. Llovlili
      Lope
      ,li l
      Oil,
      .
      Fox please
      Oifvdsf,
      X
      Liz
      Al. Ldms refuiuo z,luv l&.ppl😊l m. M
      ,
      V I
      I ,
      L,m o
      L
      Love minukou😮I’ll.Lijiiojokooivfgdl,lfgd*
      Pro
      Lx
      Bro,
      Gel ou i
      Fvonkom i llm df
      , u liddvlm xz, l,fdvdf,x. Vmldl😅z. Pocufofbdszolo. I ok uuv😅l😅r ko.
      Six LOLkdidF.ok

  • @claudiubanu6361
    @claudiubanu6361 2 года назад

    Too bad the author uses black background for Jmeter...

  • @rahimanshaik6667
    @rahimanshaik6667 Год назад

    i am getting both of them excuted mam "org.apche.jmeter.engine.standardjmeterengine.stopThread(Thread.currentThread().getName());
    " i have used this one

    • @N_S_T_Y_
      @N_S_T_Y_ 6 месяцев назад

      Typo in the command, try this org.apache.jmeter.engine.StandardJMeterEngine.stopThread(Thread.currentThread().getName());