localhost 8080 /ehrbase/rest/openehr/v1/
POST /ehr
*** Settings *** | |
Library REST | |
*** Test Cases *** | |
Use JSON Schema keyword pattern to test JSON string for substrings | |
[Setup] GET https://jsonplaceholder.typicode.com/users/1 | |
# matches "Leanne Graham" as a substring: | |
String response body name pattern="anne Grah" |
# BLOG: https://medium.com/swlh/how-can-we-best-switch-in-python-458fb33f7835 | |
def explain_char(character): | |
""" | |
switch using if / elif / else | |
""" | |
something = '' | |
if character == 'a': | |
something = 'first letter of alphabet' |
# postgres db container with some ehrbase customizations | |
FROM ehrbaseorg/ehrbase-database-docker:11.5 | |
# you may need to adjust the IP address | |
ENV DB_URL="jdbc:postgresql://172.17.0.2:5432/ehrbase" | |
ENV DB_USER="postgres" | |
ENV DB_PASS="postgres" | |
ENV POSTGRES_USER="postgres" | |
ENV POSTGRES_PASSWORD="postgres" |
*** Settings ***
Library XML
*** Test Cases ***
XML Elements Should Match
${a} Parse Xml <units>mm[Hg]</units>
${b} Parse Xml mm[Hg]
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |