{"action":"closed","issue":{"url":"https://api.github.com/repos/utPLSQL/utPLSQL/issues/746","repository_url":"https://api.github.com/repos/utPLSQL/utPLSQL","labels_url":"https://api.github.com/repos/utPLSQL/utPLSQL/issues/746/labels{/name}","comments_url":"https://api.github.com/repos/utPLSQL/utPLSQL/issues/746/comments","events_url":"https://api.github.com/repos/utPLSQL/utPLSQL/issues/746/events","html_url":"https://github.com/utPLSQL/utPLSQL/issues/746","id":346380142,"node_id":"MDU6SXNzdWUzNDYzODAxNDI=","number":746,"title":"How to get output from ut_runner.run ?","user":{"login":"ezsimonizer","id":41973789,"node_id":"MDQ6VXNlcjQxOTczNzg5","avatar_url":"https://avatars1.githubusercontent.com/u/41973789?v=4","gravatar_id":"","url":"https://api.github.com/users/ezsimonizer","html_url":"https://github.com/ezsimonizer","followers_url":"https://api.github.com/users/ezsimonizer/followers","following_url":"https://api.github.com/users/ezsimonizer/following{/other_user}","gists_url":"https://api.github.com/users/ezsimonizer/gists{/gist_id}","starred_url":"https://api.github.com/users/ezsimonizer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezsimonizer/subscriptions","organizations_url":"https://api.github.com/users/ezsimonizer/orgs","repos_url":"https://api.github.com/users/ezsimonizer/repos","events_url":"https://api.github.com/users/ezsimonizer/events{/privacy}","received_events_url":"https://api.github.com/users/ezsimonizer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-07-31T22:22:38Z","updated_at":"2018-08-09T23:32:29Z","closed_at":"2018-08-09T23:32:29Z","author_association":"NONE","body":"Hi,\r\n\r\nI was able to use ut.run() successfully­.\r\nNow I'm trying to user ut_runner.run().\r\nCould not figure it out.\r\nI'm working out of PLSQL Developer.\r\n\r\nDocumentation says\r\n\r\nThe concept is pretty simple.\r\n\r\n1. in the main thread (session), define the reporters to be used. Each reporter has it’s output_id and so you need to extract and store those output_ids.\r\n2. as a separate thread, start ut_runner.run and pass reporters with previously defined output_ids.\r\n3. for each reporter start a separate thread and read outputs from the ut_output_buffer.get_lines table function by providing the output_id defined in the main thread.\r\n\r\nCould you give an example of a script that would do that?\r\n\r\nThanks."}}
{"actor":{"display_login":"jgebal"}}