Ability to generate cfhttp scripts from Test Tool

Description

When developing integrations with existing web services, it would be useful to be able to generate the http() calls from the test tool. This would allow a developer to test the integration and then generate the code for their models.

Activity

Show:
Brad Wood
May 11, 2017, 6:44 PM

We have a wget-ish command planned for CommandBox for task runners to use.

Jon Clausen
May 11, 2017, 7:01 PM

: covers the Curl requests. Can you give me an idea of what you're looking for in the CommandBox command?

Luis Majano
May 11, 2017, 7:04 PM

I think it would be great for relax to give you more output options like swagger UI does, where you can copy/paste into different testing paradigms.

1) basic http calls for services
2) curl to test the call out
3) commandbox recipe or something, to add to the cli
etc.

Jon Clausen
May 11, 2017, 7:06 PM

Ah. I follow you now. I'll create a separate story for that

Brad Wood
May 11, 2017, 7:07 PM

Here's the ticket:

It was going to be a marriage of the already built-in progressable downloader in CommandBox (allows progress bar updates while downloading) and this project from https://www.forgebox.io/view/commandbox-http-command

I'm not sure if it really has any overlap with what you're doing with RELAX-26. I wasn't necessarily looking to be API-compat with curl or anything.

Assignee

Unassigned

Reporter

Jon Clausen

Labels

None

Priority

Minor
Configure