Which tool and framework to use RestAPI Automation Testing? [closed] - api

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am looking for RestAPI automation tool which should be open source tool.
Not getting which tool and framework should go.
Can anyone suggest for me good tool and framework for API automation testing?

It depends on your requirements and your skills.
The most obvious choice would be SoapUI, it normally doesn't require any developer background and has limited load testing capabilities.
Apache JMeter can be also used for API testing, it has Logic Controllers to design the test, Assertions to set pass/fail criteria and if you will need to run tests in multithreaded manner - JMeter is designed for load testing. See Testing SOAP/REST Web Services Using JMeter for more details.
Any programming language / library / framework which can send HTTP requests and has good support of XML or JSON or both. However it assumes some underlying programming language knowledge, besides when it comes to client SSL certificates, protocol-based and other security types it can be a headache. The most popular framework seems to be REST-assured, it's Java-based, if you're not comfortable with Java you can try searching for equivalent for programming language(s) you know better.

You Can go for SOAPUI opensource https://www.soapui.org/
You can create your own framework , using groovy or Java language, can use lot of plugins
Soaupi has lot options , easy learning curve ,and lot of online support , and large userbase.
Soap UI scripts can be maintained easily.
Soapui scripts can run through , JUNIT,TESTNG, ANT, GRADLE, MAVEN and reports can be generated.
For load testing/mini stress on your REST API, its easy ,just right click on existing test case and add to load test .
All the best , Happy Testing

Related

Protractor Vs Suitest vs Cypress Which frame work is the better for large angular apps? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
What are the particular benefits or flaws Protractor has over Suitest
and Cypress ?
1. Which would be better for multi-platform applications ?
2. Will Suitest be suitable for large app?
I have used both Protractor and Cypress with Angular and non Angular apps. Protractor is suited for scenarios if you have to execute in multiple browsers like Chrome,FF- which is not possible in Cypress as of now- Cypress only supports Chrome and Electron as of now.
Since Protractor is just a wrapper or a sort-off port of Selenium webdriver, so it can do whatever the Webdriver can do, like working with multiple windows, frames etc, which are not available in windows.
Both are very different in architecture - one being a remote execution (protractor), while one being having native access (Cypress).
Cypress tests are bound to single origin, which is not in the case of Protractor.
My Personal opinion is too side with Protractor for large complex applications - because of the ease of working and my experience in working with WebDriver in general.
Haven't heard about Suitest before.
This really depends on what are you trying to achieve. If you need to make sure that your application is working in general, i.e. business logic is doing what you want - Protractor or Cypress would do the job for you in a web browser.
If you want to dig deeper and make sure your app runs fine on your target device - you should go with Suitest. It's a good way to test your app same way it's going to be used by the end user on TVs, Xbox etc. (anything other than web browser).
Disclaimer - I work at Suitest.

Does Selenium do UI testing? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I was wondering if we can use selenium for UI testing. Does it support Javascripts on modern browsers? What other open source tools do you recommend?
I have googled a bit but could not get any definitive answer.
Thank you
Selenium is a tool you can use to mimic a user interacting with a web browser. If your UI Testing is browser based, then yes you can use it.
While selenium allows you to execute javascript commands directly, you shouldn't need to do that very often as it just does things you'd expect a user to do: clicking a button, filling out a form, etc...
It's become such a widely used tool, that it's hard to find strong reasons to use anything else, although other options exist. There are other tools that are built on top of Selenium that can help with testing other things.
Testing Web Browsers:
Selenium
Testing apps: Appium
Testing angular: Protractor
Testing Windows apps: Winium
Selenium's WebDriver has started to be implemented by the major browsers directly as Selenium has been influential is pushing that into the w3 standard. This makes it so it's the responsibility of the browsers to update their WebDriver when they release new versions, which has been and will be helpful to maintain stability in selenium tests as browsers update.
In short, yes selenium is for browser based UI Testing.

How to do cross browser testing for a web site [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
when we develop a web site then we do not know how web site behave in other browser and also in a specific browser with different version. i have seen few web site is there where we can put our web site url and it generate image of our web site. those functionality is not good. so i like to know is there any free tool exist which give me browser like feeling where we can put our web site url and do the interaction with our web site.
i am looking for best free tool to test web site functionality and UI look. share the idea. thanks
One tool i know is Browserstack. It offers free trial for half an hour. If you need more, just register again with new email or support them and buy this product. It also offers you to test local links on different platforms and browsers.
There is also saucelabs that offers free testing for some browsers, but if you want to test local link then you need to buy it.
Also crosbrowsertesting offers free trial. But it only supports mac osx 10.8 and windows 7 in free trial and a bunch of browsers and different versions.
Hope this info helped.
Have you already tried this: https://spoon.net/browsers ?
There are of course more containers than browsers.
If you need that feature in a long term purposes I would consider to setup your own containers e.g with help of Docker (https://www.docker.com/) or with Selenium Grid. If you automate UI tests, Selenium Grid will help you with parallel run and its distributions.
There are lot of tools available on internet but really I do not trust on result which they produce. They are good but not perfect.
If you really want to do pixel precise testing of UI in diff.browsers then do manually testing OR you can make it automate using selenium web driver & TestNG framework. You can also use selenium grid for this purpose.
Kindly refer : Cross browser testing
There is a couple of another sites. Maybe someone will find it helpful.
cloudtesting
browserling
saucelabs
crossbrowsertesting
browsera
https://www.equafy.com also has a free version.
Only MacOs is not available for free, but if it is for open source project this is included
I am affiliated with equafy.com.
Cross browser testing tools have progressed a lot in the past couple of years with some of the tools now offering automated solutions.
We've recently researched the market and put together our list of the top tools which are available today.
If you have any feedback or know of any additional ones which should be added, please do let me know.

How can Meteor apps be tested? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What are the recommended ways to test web applications developed with the meteor framework?
The meteor unofficial FAQ entry on TDD best practices is quite short.
Sebastian Maier has a repository where he created a meteor app and tests it with Jasmine. You could check it out, here's a link.
The Meteor documentation is woefully and/or intentionally silent on the subject of testing, other than this one quote:
Great care has been taken to give the core Meteor packages the minimal set of dependencies, so you can use your favorite templating, testing, or DOM manipulation frameworks.
So I guess you're free to test however you like, which is supposed to be a feature.
There are a number of fine testing tools that would be applicable to a Meteor webapp, Mocha being one example.
With v0.9.4, released Oct 13, 2014, Meteor has an official test framework, meteor-velocity. It supports Jasmine, Mocha and Selenium.
meteor run --test
The architect behind Velocity has published a book, Meteor Testing.
See also http://velocity.meteor.com/

web tracking tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
can any one sugest me which is the best but free web tracking tool ?
I want to know the statics, traffics, hits and area of hits etc...
Google Analytics is an obvious suggestion. However, if you prefer to host your own solution (because you don't want to send private data to Google for example), then have a look at Open Web Analytics, a very impressive alternative (see the features list).
Open Web Analytics (OWA) is an open source web analytics framework written in PHP. OWA was born out of the need for an open source framework that could be used to easily add web analytics features to web sites and applications. The OWA framework also comes with built-in support for popular web applications such as Wordpress and MediaWiki. As a generic web analytics framework, OWA can be extended to track and analyze any web application.
(source: openwebanalytics.com)
Another very decent alternative is Piwik:
Piwik is a downloadable, open source
(GPL licensed) web analytics software
program. It provides you with detailed
real time reports on your website
visitors: the search engines and
keywords they used, the language they
speak, your popular pages… and so much
more.
Piwik aims to be an open source
alternative to Google Analytics.
Piwik is a PHP MySQL software program
that you download and install on your
own webserver. At the end of the five
minute installation process you will
be given a JavaScript tag. Simply copy
and paste this tag on websites you
wish to track (or use an existing
plugin to do it automatically for
you).
(source: piwik.org)
Personally, I prefer OWA over Piwik and don't have anything negative to say about it.
Google Analytics has got all the features you specify.
You need a Google account but you don't have to sign up for their advertising programme. If you are already enrolled, Analytics is hooked into other Google products so you can get reports on Ad Sense hits, etc.