Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send multiple inputs on API request #44

Closed
tavivek opened this issue Dec 20, 2020 · 1 comment
Closed

How to send multiple inputs on API request #44

tavivek opened this issue Dec 20, 2020 · 1 comment

Comments

@tavivek
Copy link

tavivek commented Dec 20, 2020

Hi Team,

Is it possible to send one or more test cases/input in the same API request?
Right now, I have to send the input one by one to JobeServer.

Thanks

@trampgeek
Copy link
Owner

Jobe does what is says on the box - runs a single job, with its standard input and possible support files. There can only be one standard input for a single run, so the short answer is no. But there's nothing stopping you from submitting a job which is essentially a script defining multiple test cases and associated standard inputs. The script can run the (embedded) program for each test, switching the standard input between tests. We do this routinely when using Jobe from CodeRunner. Yet another approach is to upload a zip file of runs and have the script/program unzip that file and run all the jobs in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants