Thursday, 15 December 2022

Newman with Postman.... a blessing!

  • Postman is a very good tool for api automation
  • But when it comes to execute via command line we have to use another tool newman.
  • And to share report in a nice format we will need the help of newman-reporter-htmlextra
  • https://www.npmjs.com/package/newman-reporter-htmlextra
  • Prerequisite tools
    • 1. Postman
    • 2. nodejs
    • 3. java

  • Install newman 
    • npm install -g newman
  • ref - https://support.postman.com/hc/en-us/articles/115003703325-How-to-install-Newman
  • Install newman reporter html exta
    • npm install -g newman-reporter-htmlextra
  • https://www.npmjs.com/package/newman-reporter-htmlextra
  • optional - To use htmlextra as a library, install the package as a dependency into a nodejs project's package.json file using:
  • npm install -S newman-reporter-htmlextra
  • Execute the script
    • newman run DDTLogin.postman_collection.json -e DDTLogin.postman_environment.json -d data1.csv -r htmlextra
  • Where 
    • DDTLogin.postman_collection.json postman : is collection name
    •  -e DDTLogin.postman_environment.json : is  -e option to specify env file and env file name
    •  -d data1.csv : is -d option to specify data file and data file name
    • -r htmlextra : -r option for report and name of htmletxra ****

https://learning.postman.com/docs/running-collections/using-newman-cli/newman-options/



Wednesday, 10 August 2022

Deleted files by mistake using command (del /f/q/s *.*) and want to revert them?

 Hi there,

It's just a small write-up of a problem & its solution faced by me today!

It was a usual day and I was coding (in fact optimizing) my Jmeter scripts for the customer.

I happened to delete the files including code while executing the del /f/q/s *.* command on win10.

And then?

As usual, was worried until I recover them :)

But Mr. Google came to the rescue, when searched I found a tool called Recuva.

Using this I could recover my files quickly (In fact within 15 min)

Thought of sharing this info......


Link to download Recuva - https://www.ccleaner.com/recuva/download


Spread the words if you like my post.

Thanks In Advance,

-Hemangi

Wednesday, 15 June 2022

My First Website Building experience!

Hi,

Being from testing background,  I always had the curiosity to develop the website.

During my leisure time and with the help of a few juniors I have learned to make a basic website up.


Below are the notes about how and what I did....

How I learnt reactjs


PRerequisite softwares

1. https://nodejs.org/en/

2.  npm

3. java

4. visual studio


1. deploy on firebase

https://www.geeksforgeeks.org/how-to-deploy-react-project-on-firebase/

or 

https://hackernoon.com/how-to-deploy-a-react-application-with-firebase-hosting-p92m37b7

or https://www.youtube.com/watch?v=1wZw7RvXPRU

2. Google and found the video training on youtube.


2. template - https://designrevision.com/thank-you-for-your-download/?payment_key=097b1b6fd23b65deb8f77a72db0cace2

template 2 - https://startbootstrap.com/theme/one-page-wonder

https://www.digitaldesignjournal.com/free-testimonial-slider-templates/


http://bestjquery.com/tutorial/testimonial/demo67/


3.learn reactjs https://www.tutorialspoint.com/reactjs/reactjs_controlled_component.htm

https://reactjs.org/docs/dom-elements.html#style

https://www.w3schools.com/js/js_function_definition.asp


npm install jquery --save 

npm install react-owl-carousel --save  

F:\reactexample>npx create-react-app .


---------------

https://medium.com/@mohammedijas/add-custom-domain-to-firebase-a06a571624b4#:~:text=Click%20the%20hosting%20tab%20on,the%20button%20Add%20custom%20domain.&text=Add%20your%20domain%20name%20there%20and%20click%20continue.


http://akshaayusoftwareservies.com/



akshaayusoftwareservies.com



https://mailtrap.io/blog/react-contact-form/

------

npm install react-router-dom

npm install --save styled-components

----------

const mystyle = {

  color: "white",

  backgroundColor: "DodgerBlue",

  padding: "10px",

  padding: "20px 10px 0px 10px",

  margin: "25, 10"

}


https://www.youtube.com/watch?v=1wZw7RvXPRU


https://html-shark.com/HTML/TextMarginIndent.htm

---------contact form ---------

npm install emailjs-com


npm install react-toastify

npm install react-hook-form


https://dashboard.emailjs.com/admin

Service ID:service_iu6oa3e

hemangihere@gmail.com

template_name


emailjs.send(serviceID, templateID, templateParams, userID);


https://medium.com/weekly-webtips/simple-react-contact-form-without-back-end-9fa06eff52d9




Wednesday, 16 February 2022

Your own kids with differences....

Hi,

So this is about my young naughty Krishna!!!

One day I was acting as if  I a fell unconscious, just to see how your kids responds.

When I did this to my elder one - He was worried went to his father asking him to check.

But when I tried same trick with my younger one to my surprise, he tried to tickle me and check if I was doing drama. I didn't respond- then he went straight to bathroom and started getting water to pour on me. And this time I couldn't do drama further and stop laughing 😅, straight way I got up and went to kitchen. When he came with water searching me... He was like I knew you were doing drama....


Younger ones are always smart and more naughty than the elder ones....

But we still love the both equally. 

Story of Mango Tree.

 Hello,

After a long back I am writing something....

This is about something very close to my heart, story evolves around my elder son 'Aayush'!

Those very the very precious days in my life. When I was expecting the first child. Hubby was very caring and was doing everything possible to keep me happy.

I used to travel to Koramangala via car. Since I had high risk pregnancy I decided to quit in second trimester.

At home initially I was very happy and spent time in cleaning house and other stuff...

But after few days was getting bored. So started buying plants and take care of them. We had few plants and I guess earlier that year, I had sow a mango seed , and to my surprise it started getting buds. I was very happy to see it grow. When I gave birth to my first son the plant had already turned into sampling. Once Aayu becomes 1+ year, I decided to move the sampling to the apartment complex compound ground.

Like wise I planted few lemon, orange, drumstick and chiko samplings in apartment complex.

Lemons started coming coming after 2 years but not other fruits I could see.

We shifted it and though I was not watering it everyday, every time when  I go for walk I would definitely observe it. And talk to gardener about it.

Like these few years passed and every spring I would hope to see some flowers hoping at least this year we will get mangoes.


And this year in 2022, finally I see the flowers blooming on the tree.

I was Overjoyed and these days we express our feeling to our near and dear ones and also via whatsapp status...

I feel this tree is for my elder one like the elders used to say one person should plant at least one tree.

I did my job! When are you going to take your steps towards our mother earth....

Jmeter - Get/print/display the Thread index nad loop index / ip address of current machine while executing script

Hi, If we need to print  Current thread count/index while execution in result -  thread No: (${__threadNum})  and if current loop count/ind...