DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
What's in store for DevOps in 2023? Hear from the experts in our "DZone 2023 Preview: DevOps Edition" on Fri, Jan 27!
Save your seat

How Blazemeter Helped me in Solving Recording Issues With JMeter

In this post, the author is going to tell you how Blazemeter helped him in solving recording issues with JMeter.

NaveenKumar Namachivayam user avatar by
NaveenKumar Namachivayam
CORE ·
Oct. 12, 16 · Opinion
Like (2)
Save
Tweet
Share
3.49K Views

Join the DZone community and get the full member experience.

Join For Free

i was working on a gig where i need to automate instagram posts by uploading multiple photos and by adding random hashtags. once the photos pushed to the queue, it should publish on a specified date and time. in this post, i am going to tell you how blazemeter helped me in solving recording issues with jmeter.

is it possible to automate instagram photo upload?

there are no official apis available to upload photos to the instagram queue. it is illegal to leverage automate postings in instagram. the existing tools such as s chedugram , h ootsuite , later, or other tools, do not use any apis to schedule the photo upload.

if you take schedugram, they do not use any apis to post photos to your instagram feed. how it works is 100% automation . like a real person sitting behind the computer, uploading your photos on behalf of you, and posting your data when the time arrives. schedugr.am specializes only in instagram, unlike hootsuite where you can manage multiple social accounts.

how blazemeter helped me in solving recording issues with jmeter?

so, how did blazemeter helped me in solving recording issues with jmeter?

how blazemeter helped me

i was trying to automate instagram via schedugram. it is like automating the automation tool. following are challenges i was facing with multiple tools:

  1. i evaluated jmeter, hpe loadrunner (truclient web) and other windows based automation tools.
  2. using truclient web protocol, i was able to automate everything except the file uploading process where the help manual stated that to contact hpe for the custom code. see this page for more details.
  3. other windows-based automation tools don’t meet my requirements.
  4. using jmeter, i was able to record, but most of the client side rendering didn’t record.

after spending a couple of hours, i thought why not try blazemeter? i have had an account with blazemeter, it is free to sign up. i used blazemeter chrome add-on to record the business flow, and then i exported it as jmeter file.

in jmeter script, i can clearly see all the calls including file upload requests. basically, it was rest calls, then i validated using chrome devtools where i can see the same calls. but when i was trying in jmeter, it didn’t record those rest calls.

there is only one call to upload photos, add captions, date and time for multiple photos. during the upload, the photos are being uploaded to their cloud and it gets converted into two formats — one as the actual format and another one as thumbnails.

it is not possible to upload the photos from your desktop, instead, you can upload the photos to your website root folder and map that url in the rest call.

in jmeter, the post rest request where the actual schedule is happening, there you need to map the urls and other details. in this way, you can automate instagram via schedugram. all you need is a valid instagram and schedugram account.

the above tutorial is only for educational purpose. all trademarks and registered trademarks are the property of their respective owners.

your turn: have you tried automating any such scenarios?

Instagram Upload

Published at DZone with permission of NaveenKumar Namachivayam, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Internal Components of Apache ZooKeeper and Their Importance
  • 5 Tips for Optimizing Your React App’s Performance
  • When AI Strengthens Good Old Chatbots: A Brief History of Conversational AI
  • The Enterprise, the Database, the Problem, and the Solution

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: