[Question]Failed to run workload with postgre #116
-
When I run hammerdb against postgre db , the error logs like below, Is there some reason why the function can't be found? Thanks Vuser 6:FINISHED FAILED Vuser 8:FINISHED FAILED Vuser 7:FINISHED FAILED Vuser 11:FINISHED FAILED |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 11 replies
-
Firstly make sure that the schema build finished correctly. if this is the case then be aware that there is an option to use stored procedures instead of functions, if you created stored procedures and then run the driver script with functions then you would also see the error above so also try setting PostgreSQL Stored procedures in the driver script to see if you have created stored procedures instead. |
Beta Was this translation helpful? Give feedback.
-
Thanks, it solved, I still have a question, when the test run is finished if I can generate a report as xml format or not? |
Beta Was this translation helpful? Give feedback.
-
If you run hammerdb as a web service all of the functions that run underneath are identical to the GUI and CLI however it stores the output in JSON format in a SQLite database that can be extracted later. The JSON format could be converted to XML if desired. More information is here https://www.hammerdb.com/blog/uncategorized/using-hammerdb-as-a-web-service/. Although not a feature at present or an Issue for future development it would be possible to add the SQLite based store to the GUI and CLI. |
Beta Was this translation helpful? Give feedback.
-
Thanks , Is there a way how can I use the sqlite database? or How can I access the db to extracted the json file. |
Beta Was this translation helpful? Give feedback.
-
Currently the sqlite database is only accessible when using the web service interface. The documentation for this feature is here https://www.hammerdb.com/docs/ch09.html and the specific part on retrieving output here https://www.hammerdb.com/docs/ch09s05.html. |
Beta Was this translation helpful? Give feedback.
-
closed as no further update |
Beta Was this translation helpful? Give feedback.
Currently the sqlite database is only accessible when using the web service interface. The documentation for this feature is here https://www.hammerdb.com/docs/ch09.html and the specific part on retrieving output here https://www.hammerdb.com/docs/ch09s05.html.