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

Save results to file #15

Open
5 tasks
aleksandr-kotlyar opened this issue Feb 23, 2020 · 1 comment
Open
5 tasks

Save results to file #15

aleksandr-kotlyar opened this issue Feb 23, 2020 · 1 comment
Assignees

Comments

@aleksandr-kotlyar
Copy link
Owner

aleksandr-kotlyar commented Feb 23, 2020

Enhancements to do

  • Print code not 200 and it's url to file.
  • Print all urls with their codes to file.
  • Set file-path to save results locally (if not default).
  • Set file-name to save results locally (if not default).
  • Save artifacts to gitlab.
@aleksandr-kotlyar aleksandr-kotlyar changed the title Print results to file Save results to file Feb 25, 2020
@aleksandr-kotlyar aleksandr-kotlyar self-assigned this Feb 29, 2020
@aleksandr-kotlyar
Copy link
Owner Author

There are many ways to write to file in Java.

This seems to be a modern one

private static void writeUsingFiles(String data) {
        try {
            Files.write(Paths.get("/Users/pankaj/files.txt"), data.getBytes());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

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

No branches or pull requests

1 participant