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

Поділитися
Вставка
  • Опубліковано 5 гру 2020
  • 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.

  • @vanshthukral5477
    @vanshthukral5477 Рік тому +1

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

  • @protectglobe444
    @protectglobe444 3 роки тому +2

    Well explained!

  • @mangalthorath6460
    @mangalthorath6460 2 роки тому +1

    Thanks Sravan sir your videos helping us lot

  • @troxfroxprox7260
    @troxfroxprox7260 2 роки тому

    Ma maaan! as always, THE BEST.

  • @tburft2493
    @tburft2493 11 місяців тому +1

    Thank you, great explanation

  • @atul6803
    @atul6803 3 роки тому +1

    Thank You ☺️☺️

  • @saitejapendli7036
    @saitejapendli7036 2 роки тому

    very nice way of explanation tq.

  • @NavamiTravels
    @NavamiTravels 2 роки тому +1

    very helpful . thankyou

  • @ramasunkara8747
    @ramasunkara8747 2 роки тому +2

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

  • @geetastechzone7036
    @geetastechzone7036 3 роки тому +2

    This was much helpful .Great👍😊

  • @santhoshthondiraj6078
    @santhoshthondiraj6078 3 роки тому +1

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

  • @PaulMaria5959
    @PaulMaria5959 3 роки тому +1

    Easily we can understand. Very Good.

  • @Anjali-pn9lh
    @Anjali-pn9lh 9 місяців тому +1

    Thank you

  • @Eduardo-wn8vt
    @Eduardo-wn8vt 3 роки тому +1

    really good video! Thanks for sharing

  • @srujanagupta3884
    @srujanagupta3884 3 роки тому +2

    U made MUnit easy

  • @sowndharyakanakaraj9941
    @sowndharyakanakaraj9941 3 роки тому

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

  • @chakrisneelam1393
    @chakrisneelam1393 6 місяців тому

    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?

  • @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

  • @aravinthanm1286
    @aravinthanm1286 6 місяців тому

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

  • @godfreyochieng2205
    @godfreyochieng2205 Рік тому

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

  • @girikrishna2748
    @girikrishna2748 2 роки тому

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

  • @minaksheekumari4641
    @minaksheekumari4641 3 роки тому

    does it work for global error handler too?

  • @sumuduv
    @sumuduv 3 роки тому +1

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

  • @vaishali2129
    @vaishali2129 3 роки тому

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

  • @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?.

  • @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

  • @chotuchotu542
    @chotuchotu542 2 роки тому

    Mule palsette is not showing could u plz guide me

  • @bhanuprasad3831
    @bhanuprasad3831 7 місяців тому

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

  • @bhaveymalhotra3212
    @bhaveymalhotra3212 2 роки тому

    Please share source code