[NFBCS] Accessible API Tester like Postman

Timothy Breitenfeldt timothyjb310 at gmail.com
Sun Jan 5 16:51:00 UTC 2020


Hi, I posted a question a few weeks ago about accessible API testers.
I am finally at a point where I am actively needing to use a tester. I
downloaded curl for Windows and used that. It works well enough, but
perhaps someone can give me some pointers on the best way to create a
work flow using curl. I created a batch script once I got the command
I wanted setup, but I was having several problems dealing with passing
JSON because I had to escape all of the double quotes. I got it
figured out, but it is not ideal. I ended up just dumping the commands
I wanted into a batch file, and modify them for each test I wanted. I
supposek creating a function for each test would have been better, so
that I could save my tests.

Can someone share their experience writing curl API tests preferably in Windows?
I am still open to any other ideas than curl. It seems that curl can
be simplified for most day to day tasks, is there a wrapper for curl
that anyone know of? I will do some research myself into this.

Thanks,

Timothy Breitenfeldt

On 11/5/19, Chris Nestrud via NFBCS <nfbcs at nfbnet.org> wrote:
> curl for Windows is here:
>
> https://curl.haxx.se/windows/
>
> Commandline should make for easily repeatable tests, at least.
>
> Chris
>
> On Tue, Nov 05, 2019 at 08:18:20AM -0800, Timothy Breitenfeldt via NFBCS
> wrote:
>> Insomnia seems to be everyone's suggestion, but adding arguments to
>> your query is very important if testing REST APIs, and I just cannot
>> consistently find a way to add arguments to my query using Insomnia. I
>> have never used curl beyond making HTTP requests in PHP. I am guessing
>> curl is command line based, is there a version of curl for windows?
>> I would rather not use a commandline tool when there are other tools
>> out there that can achieve the same job in far less time and effort.
>>
>> Does anyone else have any suggestions of a tool that they use for testing
>> APIs?
>>
>> TJ Breitenfeldt
>>
>> On 11/2/19, Chris Nestrud via NFBCS <nfbcs at nfbnet.org> wrote:
>> > I haven't used Insomnia enough to come across that problem. I found out
>> > about
>> > it recently and I'm planning to use it in the next few months. Until
>> > now
>> > I've mostly just used curl or written tests in Python.
>> >
>> > Chris
>> >
>> > On Sat, Nov 02, 2019 at 09:44:21AM -0700, Timothy Breitenfeldt via
>> > NFBCS
>> > wrote:
>> >> Hi Chris, I appreciate the suggestion. I actually just tried Insomnia,
>> >> and found it to be mostly accessible, but I was struggling adding
>> >> arguments to my request. Everything else seemed to work well enough. I
>> >> tried using jaws and NVDA, but once I click on the query tab, and the
>> >> name and value edit boxes pop up, I can't add aditional arguments.
>> >> Under the initial name and value edit boxes it gives me is a couple of
>> >> unlabeled buttons , when  I click the first one it seems like it adds
>> >> new boxes for more arguments, but when I tab or arrow down, I am not
>> >> sure if my cursor starts jumping or if boxes are unlabeled because it
>> >> starts talking about some filter. When I navigate by e though, it
>> >> looks like there are new boxes, when I press enter though I have the
>> >> same problem as tabbing and arrowing to the boxes.
>> >>
>> >> Are you having this problem?
>> >>
>> >> This is very frustrating to not have a decent API tester, I am about
>> >> ready to just create my own tool.
>> >>
>> >> Thanks,
>> >>
>> >> TJ Breitenfeldt
>> >>
>> >> On 11/2/19, Chris Nestrud via NFBCS <nfbcs at nfbnet.org> wrote:
>> >> > Take a look at Insomnia, https://insomnia.rest.
>> >> >
>> >> > Only issue that I have is that it doesn't support the equivalent of
>> >> > curl's
>> >> > --resolve
>> >> > option.
>> >> >
>> >> > Chris
>> >> >
>> >> > On Fri, Nov 01, 2019 at 03:13:57PM -0700, Timothy Breitenfeldt via
>> >> > NFBCS
>> >> > wrote:
>> >> >> Hi, I am looking for an accessible API tester like Postman. I am a
>> >> >> web
>> >> >> developer and frequently struggle with how to test my own APIs. I
>> >> >> usually right my own tests, but it is time consuming, and there are
>> >> >> already tools that are designed for this purpose. Postman is great
>> >> >> from what I have heard, but it is not accessible. There is an issue
>> >> >> that has been put in for improving the accessibility of Postman on
>> >> >> Github, but the developers are slow to respond and we haven't seen
>> >> >> anything yet.
>> >> >>
>> >> >> The issue is here:
>> >> >>
>> >> >> https://github.com/postmanlabs/postman-app-support/issues/3121
>> >> >>
>> >> >> Does anyone have any suggestions for other API testers I can use?
>> >> >> It
>> >> >> shouldn't matter, but right now I am using java with Spring Boot to
>> >> >> build my APIs.
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> TJ Breitenfeldt
>> >> >> --
>> >> >>
>> >> >> Timothy Breitenfeldt
>> >> >>
>> >> >> Phone: 509-388-7262
>> >> >>
>> >> >> Skype: timothyjb310 at outlook.com
>> >> >>
>> >> >> https://www.linkedin.com/in/timothybreitenfeldt/
>> >> >>
>> >> >> _______________________________________________
>> >> >> NFBCS mailing list
>> >> >> NFBCS at nfbnet.org
>> >> >> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> >> >> To unsubscribe, change your list options or get your account info
>> >> >> for
>> >> >> NFBCS:
>> >> >> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/ccn%40chrisnestrud.com
>> >> >
>> >> > _______________________________________________
>> >> > NFBCS mailing list
>> >> > NFBCS at nfbnet.org
>> >> > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> >> > To unsubscribe, change your list options or get your account info
>> >> > for
>> >> > NFBCS:
>> >> > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/timothyjb310%40gmail.com
>> >> >
>> >>
>> >>
>> >> --
>> >>
>> >> Timothy Breitenfeldt
>> >>
>> >> Phone: 509-388-7262
>> >>
>> >> Skype: timothyjb310 at outlook.com
>> >>
>> >> https://www.linkedin.com/in/timothybreitenfeldt/
>> >>
>> >> _______________________________________________
>> >> NFBCS mailing list
>> >> NFBCS at nfbnet.org
>> >> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> >> To unsubscribe, change your list options or get your account info for
>> >> NFBCS:
>> >> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/ccn%40chrisnestrud.com
>> >
>> > _______________________________________________
>> > NFBCS mailing list
>> > NFBCS at nfbnet.org
>> > http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> > To unsubscribe, change your list options or get your account info for
>> > NFBCS:
>> > http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/timothyjb310%40gmail.com
>> >
>>
>>
>> --
>>
>> Timothy Breitenfeldt
>>
>> Phone: 509-388-7262
>>
>> Skype: timothyjb310 at outlook.com
>>
>> https://www.linkedin.com/in/timothybreitenfeldt/
>>
>> _______________________________________________
>> NFBCS mailing list
>> NFBCS at nfbnet.org
>> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
>> To unsubscribe, change your list options or get your account info for
>> NFBCS:
>> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/ccn%40chrisnestrud.com
>
> _______________________________________________
> NFBCS mailing list
> NFBCS at nfbnet.org
> http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> NFBCS:
> http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/timothyjb310%40gmail.com
>


-- 

Timothy Breitenfeldt

Phone: 509-388-7262

Skype: timothyjb310 at outlook.com

https://www.linkedin.com/in/timothybreitenfeldt/




More information about the NFBCS mailing list