Getting error when executing smartjmx through jmeter for ecommerce site - testing

I have recorded the smart jmx of ecommerce site with blaze meter but when i'm using the same file in jmeter getting error's. It's working fine till add to cart, when it processing the customer information throw exceptions.
image

SmartJMX is a commercial third party tool by Blazemeter and its code is non public.
As such it's impossible to help you, so you should contact their support to report the issue.
Most probably your issue is due to:
Missing correlation not detected by SmartJMX
Wrong correlation done by some extractor added by SmartJMX
You can debug this using JMeter View Results Tree and Debug Sampler or Debug PostProcessor and comparing a recording with a play of your script to see what differs.

Related

Issue in file upload in Jmeter script

As unable to record the application through JMeter recorder (encountered 401 Unauthorized while recording login), used Blazemeter Chrome plugin to record the script. But file upload is not getting successful during re-run. I have tried checking/unchecking "Use multipart/formdata" , provided details in File upload section of the transaction, used Java implementation but no luck.
enter image description here
enter image description here
We cannot "suggest" anything without seeing the:
Response Data and headers - can be observed using View Results Tree listener
Request Data and headers - the same listener can show you this
Values of any JMeter Variables used. Can be figured out from the request data but it's more convenient to use Debug Sampler
The most common reason for not being able to replay the recorded test script is missing or improperly implemented correlation so ensure that your test is doing what it supposed to be doing since the very first request.
The approach of "checking/unchecking" and switching to different implementations is not very good, you should rather use a sniffer tool to capture the requests originating from JMeter and from the real browser, compare them and amend JMeter's configuration unless the requests would be exactly the same (apart from dynamic parameters which need to be correlated)

I am not able to get the grid data in jmeter using post processor

I am having jmeter to perform testing. However I have visited to some while doing the testing. when I have view the result of the same in that except the grid table data it shows the every details on the web page. I am having jmeter 3.0 installed on windows 10 64 bit.
Thanks for replay
as you said i have change the path from "/ntes/specialTrains.jsp"
and made http request default as "enquiry.indianrail.gov.in"
Error message is not displayed, but still not able to get the grid in the output.
attached the screen shot please have look.
"Issue is still not resolved. so please assist for the same"
I'm not fully getting your answer, however here is a couple of advices:
You won't be able to see the JMeter Variable originating from the XPath Extractor in the View Results Tree listener unless you add a Debug Sampler to your Test Plan. View Results Tree listener itself has XPath Tester mode where you can evaluate your XPath queries directly against the "live" response without having to re-run the request. See How to Debug your Apache JMeter Script article for above instructions explained in details.
Your 2nd request is misconfigured. It should look as follows:
Server Name or IP: enquiry.ingianrail.gov.in
Path: /ntes/specialTrains.jsp
Actually the easiest way to get JMeter test script "skeleton" and avoiding errors like above is just recording it via JMeter's built-in proxy server. See JMeter Proxy Step by Step guide for instructions.

RROR – unable to acquire LMS API, content may not play properly and results may not be recorded. Please contact technical support

We are in the process of implementing Success Factors LMS, and trying to play and view SCORM compatible files exported from Adobe Captivate 8 and 9 in Success Factors LMS.
I get the message - 'ERROR – unable to acquire LMS API, content may not play properly and results may not be recorded. Please contact technical support’
I have tried SCORM versions 1.2 v3 and 2004 V2 and V4. We can view the content, however it does not track, show as complete etc.
We are also producing Scorm compliant files using Skillcast and Articulate, but we still hit the same issue, we can view the content after closing the API error window, but still does not track.
Anyone experienced this problem before? Or know of a fix?
Many thanks
Normally this issue comes up when the course is unable to get the SCORM API from the LMS...I have seen a ton of SCORM content running in Success Factors before, so I wonder if the issue is in the setup. Are you seeing any "Access Denied" type errors in the browser element inspector/developer tools? I wonder if the course just can not find/have access to the player window. If the course is launching in a new window, you may want to try launching it in the frameset. I have seen folks get around this issue by making sure the player and sco are in the same window...
If you wanted to rule out the content being the issue, you can always test your content in the SCORM Cloud's free sandbox (https://cloud.scorm.com) to make sure the course is properly asking for the API...
If you have any other questions, we would be happy to help...you can just shoot us an email at support#scorm.com.
Thank you!
Joe
The error occurs because the content is not speaking to the Learning Management System (LMS). The code that runs to initialize the session doesn't happen. There is no return "ping" from the LMS.
You will get this error when you publish in SCORM and run from your desktop, or from a web server that isn't connected to an LMS. If it occurs when you are launching from an LMS it can either mean that the SCORM API isn't configured correctly, or your content server is on a different domain (cross-domain) than your application servers.
To test, you should try launching your content in different browsers. Our system was configured in such a way that Firefox and Chrome read our content to be cross-domain issue, and threw the SCORM API error, but Internet Explorer worked just fine.
In the end, it was determined that our server configuration in tandem with our firewall and security settings read the Content server as cross-domain and we had to redeploy our content servers within the firewall.

How to work with apache Jmeter with ZK Framework

I am new at performance testing and I would like to load 500 virtual users and check the response time of my application.
I want to use apache jmeter with ZK Framework.
Can you please help achieve this?
I don't know whether you've already resolved your problem or not, but the first thing you will need to do is download the relevant zk plugin (zk-jmeter-plugin-0.8.0.jar) available via http://blog.zkoss.org/index.php/2013/08/06/zk-jmeter-plugin/
save the plugin .jar to %apache-jmeter-root%/lib/ext
Once you've downloaded this, run JMeter. Within the Workbench object in your JMeter hierarchy, there will be a new 'Non-Test Element' entitled 'ZK HTTP Proxy Server'. You will need to use this rather than the standard JMeter 'HTTP(S) Test Script Recorder' to record your http requests.
I'm new to JMeter and the ZK Framework myself, but I've just been working on this so hopefully this detail will be helpful.
There are some additional config files you will need once you actually get going, but I'll wait to see if you still need any more help before bombarding you with info you might already have.
Cheers,
sqeeky

Recording AJAX requests and Pop ups using Jmeter or Badboy

I am trying to load test a website where lot of images are called via Ajax and the very first thing i.e. logging into the application opens up a pop up when we click on log in button. I tried JMeter proxy settings to record it but failed. Also tried with Badboy, and it didn't work out too.
The limitations I have with me is I need to load test it with JMeter only. Are there any plugins available which can be integrated to JMeter so that AJAX and pop ups in an application can be handled in a much better way.
In general, JMeter does not have a problem with Ajax or Popups - so there is no plugin to address such. Both recording and playback happens at the HTTP layer so things like popups are somewhat irrelevant and Ajax is more a matter of timing; but in both cases it is only the HTTP call that matters. So, if you are having a problem, it could be something else that is holding you up. Try playing with the Proxy settings or using a different browser, beyond that you would need to expand 'didn't work out' and 'it failed' into a more detailed problem statement!
One solution - regardless of your exact problem - is to build the testplan manually, this is often actually the easiest way to work with JMeter. You can use a tool like fiddler or charles to examine the traffic and create the requests directly based on what you see. You can also use browser dev tools to do this. You might instinctively think this is going to be difficult but it's not and the added bonus is that the process gives you a solid understanding of how whatever it is you are testing actually works - which is always nice to have.
JMeter is a tool for testing server-side activity; as long as you record every request to server-side it doesn't care whatever happens on the client. Can you give details abt why JMeter "failed" to record Ajax requests?
Are you sure that you have included recording controller to your Jmeter thread group?
I think you are missing with you configuration for "recording controller" or "HTTP Request Sampler"
Some more information about your "didn't work" situation will be much more helpful.
I'll suggest that you should also have a look at the Jmeter Log file(jmeter.log) created in "Bin" folder to understand the root cause of of the issue.
Thanks,