Mule 4 - Create MUnit Test Cases using MUnit Test Recorder feature | MUnits for Error Scenarios

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • This video shows full coverage on creating MUnit Test cases using the MUnit test recorder feature. We all know that we cannot create Munit Test cases for error scenarios with the help of the MUnit Test recorder feature. But I have shown you a small trick on how to achieve that as well!
    If you are interested to learn MuleSoft? Or wanted to suggest to anyone?
    Here are full series of lectures for MuleSoft for Beginners :
    Session 1 Recording:
    lnkd.in/dpUNdp7
    Session 2 Recording:
    lnkd.in/dEeNVPt
    Session 3 Recording :
    lnkd.in/dXeBe9K
    Session 4 Recording :
    lnkd.in/d_Wtt5f
    Session 5 Recording:
    lnkd.in/dHmgH-h
    Session 6 recording :
    lnkd.in/dMw32bb
    Session 7 recording :
    lnkd.in/g3Mh5YJ
    Session 8 recording :
    lnkd.in/g3Mh5YJ
    Session 9 recording :
    lnkd.in/dPthXsz
    Session 10 recording:
    • Session 10: Deploying ...
    ~-~~-~~~-~~-~
    Please watch: "Implement an API using Anypoint Code Builder #ACB @sravanlingam #mule4 #mulesoft #salesforce"
    • Implement an API using...
    ~-~~-~~~-~~-~

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

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

    Requesting you to do a video on all Munit tools which are required for testing using Munit Record option.

  • @aravinthanm1286
    @aravinthanm1286 8 месяцев назад

    what to do in set variable? what is the values u set in the expression?

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

    In mule 4 we have to write m unit test cases like in java j unit test cases

  • @Anjali-pn9lh
    @Anjali-pn9lh Год назад +1

    Thank you

  • @tburft2493
    @tburft2493 Год назад +1

    Thank you, great explanation

  • @chakrisneelam1393
    @chakrisneelam1393 8 месяцев назад

    Thans for the content but one doubt over here, if we are testing our flows through postman and we are able to debug and check the results in studio, then why we need this munit testing? Is there any significance for this?

  • @NavamiTravels
    @NavamiTravels 2 года назад +1

    very helpful . thankyou

  • @vanshthukral5477
    @vanshthukral5477 Год назад +1

    Thanks a lot for creating this amazing content! Really helpful.

  • @mangalthorath6460
    @mangalthorath6460 2 года назад +1

    Thanks Sravan sir your videos helping us lot

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

    if you have system, process, and experience API in a single application how do you run Munit.

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

    Well explained!

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

    Hi. I am not getting the valid response to postman when i record the request. Could you help on this please.

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

    U made MUnit easy

  • @atul6803
    @atul6803 3 года назад +1

    Thank You ☺️☺️

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

    Mule palsette is not showing could u plz guide me

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

    Good explanation, suppose if application contains any vm arguments ${mule.env} to deploy app in local this type of cases how to do handle in test recorder?.

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

    Explained well !!
    Have questions
    1. I hv multiple flow reference in one flow can it be tested at once ?
    2. If i am trying to stop recording its keep on showing me a disable button " stopping recording " and its not enabling start recording. Is there a fix on that?
    3. What should be the maven configuration under windows 》 prefarences 》maven ?
    I m using munit version 2.3.2 and anypoint studio 7.8

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

      Thank you
      And
      1) yes, test recorder has limitation for flow ref. It will actually mock flow ref rather than going to the flows those are reffered and are to be covered. In such case , normal process of writing Munits saves time than using test recorder
      2) stopping recording is a bug I see in later studio version, I faced it too. Only way to overcome is to close and open project. If still exists, restart studio
      3) just use mvn clean install
      To skip Munits , add -DskipMunitTests

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

    very nice way of explanation tq.

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

    Ma maaan! as always, THE BEST.

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

    Please share source code

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

    does it work for global error handler too?

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

    is it possible to convert a mule subflow into a connector?

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

    This was much helpful .Great👍😊

  • @ramasunkara8747
    @ramasunkara8747 2 года назад +2

    Wonderful explanation, it helped a lot, than you sir..

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

    Nice video!!
    I have a mule api with domain project and has runtime properties, tried recording but it's not deploying. On local the API is working fine but with error it's not deploying.
    Error is something like ${mule.env} not found. I tried giving the property in configuration but still same error. Any hint???

    • @MuleSoftTechZone
      @MuleSoftTechZone  3 года назад +1

      Did u configure the "configuration" element?

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

      @@MuleSoftTechZone yes I have added the Global property to config. Can we please connect?

    • @khajamohiuddinahsan4022
      @khajamohiuddinahsan4022 2 года назад +1

      @@scbharde While giving Run configurations left side there is munit tab there also u should give the run properties

  • @sumuduv
    @sumuduv 3 года назад +1

    Great Tutorial. Really Useful... #mule4 #munit

  • @PaulMaria5959
    @PaulMaria5959 3 года назад +1

    Easily we can understand. Very Good.

  • @santhoshthondiraj6078
    @santhoshthondiraj6078 3 года назад +1

    Fantastic @sravan doing excellent job, no words to say.....

  • @Eduardo-wn8vt
    @Eduardo-wn8vt 3 года назад +1

    really good video! Thanks for sharing

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

    ohh..god bless u..Sravan n team.. #helpful!!