Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 17 August 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.674s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.102s
2022-08-17 22:33:18 |

2022-08-17 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:18 | ------------------------------------

2022-08-17 22:33:18 | [Mutex] waiting for: [configured:node:node-58e3586e-8426-4c14-abba-dd43108677c5:node-87d8e162-bc73-4028-afbe-c8f09a8923b8]

2022-08-17 22:33:18 | [Mutex] received everything.

2022-08-17 22:33:18 | [Mutex] isItemNotified: configured:node:node-58e3586e-8426-4c14-abba-dd43108677c5:node-87d8e162-bc73-4028-afbe-c8f09a8923b8 :: true

2022-08-17 22:33:19 | [Mutex] waiting for: [received:nodes:b4e373b9-5144-4597-9469-b689da3f29be:localhost]

2022-08-17 22:33:19 | [Mutex] received everything.

2022-08-17 22:33:19 | [Mutex] isItemNotified: received:node:b4e373b9-5144-4597-9469-b689da3f29be:localhost:node-58e3586e-8426-4c14-abba-dd43108677c5:Node 58e3586e-8426-4c14-abba-dd43108677c5 :: true

2022-08-17 22:33:19 | [Mutex] waiting for: [received:nodes:649491fd-7225-4240-8b62-9b4008bfa121:localhost]

2022-08-17 22:33:19 | [Mutex] received everything.

2022-08-17 22:33:19 | [Mutex] isItemNotified: received:node:649491fd-7225-4240-8b62-9b4008bfa121:localhost:node-58e3586e-8426-4c14-abba-dd43108677c5:Node 58e3586e-8426-4c14-abba-dd43108677c5 :: false

createNodes 1.399s
2022-08-17 22:33:16 |

2022-08-17 22:33:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:16 | ------------------------------------

2022-08-17 22:33:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-58e3586e-8426-4c14-abba-dd43108677c5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 58e3586e-8426-4c14-abba-dd43108677c5</title></pubsub></data>

2022-08-17 22:33:16 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-17 22:33:17 | [Mutex] waiting for: [received:nodes:cebc7624-6a43-40df-80d7-a6e928788625:localhost]

2022-08-17 22:33:17 | [Mutex] received everything.

2022-08-17 22:33:17 | [Mutex] isItemNotified: received:node:cebc7624-6a43-40df-80d7-a6e928788625:localhost:node-58e3586e-8426-4c14-abba-dd43108677c5:Node 58e3586e-8426-4c14-abba-dd43108677c5 :: true

createSubnodes 1.022s
2022-08-17 22:33:17 |

2022-08-17 22:33:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:17 | ------------------------------------

2022-08-17 22:33:17 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-87d8e162-bc73-4028-afbe-c8f09a8923b8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 87d8e162-bc73-4028-afbe-c8f09a8923b8</title></pubsub></data>

2022-08-17 22:33:17 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-17 22:33:18 | [Mutex] waiting for: [received:nodes:7b1abd83-644d-43a5-b018-f433429f4607:localhost]

2022-08-17 22:33:18 | [Mutex] received everything.

2022-08-17 22:33:18 | [Mutex] isItemNotified: received:node:7b1abd83-644d-43a5-b018-f433429f4607:localhost:node-87d8e162-bc73-4028-afbe-c8f09a8923b8:Node 87d8e162-bc73-4028-afbe-c8f09a8923b8 :: true

deleteNodes 1.017s
2022-08-17 22:33:24 |

2022-08-17 22:33:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:24 | ------------------------------------

2022-08-17 22:33:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-87d8e162-bc73-4028-afbe-c8f09a8923b8</node></data>

2022-08-17 22:33:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-17 22:33:25 | [Mutex] waiting for: [received:nodes:c0f4aff4-a810-44f9-9a75-948a7462d40d:localhost]

2022-08-17 22:33:25 | [Mutex] waiting for: [received:nodes:c0f4aff4-a810-44f9-9a75-948a7462d40d:localhost]

2022-08-17 22:33:25 | [Mutex] received everything.

2022-08-17 22:33:25 | [Mutex] isItemNotified: received:node:c0f4aff4-a810-44f9-9a75-948a7462d40d:localhost:node-87d8e162-bc73-4028-afbe-c8f09a8923b8:Node 87d8e162-bc73-4028-afbe-c8f09a8923b8 :: false

deleteSubnodes 1.126s
2022-08-17 22:33:22 |

2022-08-17 22:33:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:22 | ------------------------------------

2022-08-17 22:33:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-58e3586e-8426-4c14-abba-dd43108677c5</node></data>

2022-08-17 22:33:22 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-08-17 22:33:24 | [Mutex] waiting for: [received:nodes:85bc9c9b-13a6-4027-9c83-f9456d461146:localhost]

2022-08-17 22:33:24 | [Mutex] waiting for: [received:nodes:85bc9c9b-13a6-4027-9c83-f9456d461146:localhost]

2022-08-17 22:33:24 | [Mutex] received everything.

2022-08-17 22:33:24 | [Mutex] isItemNotified: received:node:85bc9c9b-13a6-4027-9c83-f9456d461146:localhost:node-58e3586e-8426-4c14-abba-dd43108677c5:Node 58e3586e-8426-4c14-abba-dd43108677c5 :: false

2022-08-17 22:33:24 | [Mutex] waiting for: [received:nodes:ca806bcf-8a8c-456e-b166-03a326518312:localhost]

2022-08-17 22:33:24 | [Mutex] received everything.

2022-08-17 22:33:24 | [Mutex] isItemNotified: received:node:ca806bcf-8a8c-456e-b166-03a326518312:localhost:node-58e3586e-8426-4c14-abba-dd43108677c5:Node 58e3586e-8426-4c14-abba-dd43108677c5 :: false

publishItemsToNodes 0.234s
2022-08-17 22:33:20 |

2022-08-17 22:33:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:20 | ------------------------------------

2022-08-17 22:33:20 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-58e3586e-8426-4c14-abba-dd43108677c5</node><item-id>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</item-id><entry><test>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</test></entry></data>

2022-08-17 22:33:20 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</value></item-id></result>

2022-08-17 22:33:20 | [Mutex] waiting for: [published:item:notifieditem-53fc5222-e383-43f5-bfd5-e82eebf4a188:admin@test-domain.com]

2022-08-17 22:33:21 | [Mutex] received everything.

2022-08-17 22:33:21 | [Mutex] isItemNotified: published:item:notifieditem-53fc5222-e383-43f5-bfd5-e82eebf4a188:admin@test-domain.com :: true

retractItemsFromNodes 0.257s
2022-08-17 22:33:21 |

2022-08-17 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:21 | ------------------------------------

2022-08-17 22:33:21 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-58e3586e-8426-4c14-abba-dd43108677c5</node><item-id>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</item-id></data>

2022-08-17 22:33:21 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</value></item-id></result>

2022-08-17 22:33:21 | [Mutex] waiting for: [retracted:item:notifieditem-53fc5222-e383-43f5-bfd5-e82eebf4a188:admin@test-domain.com]

2022-08-17 22:33:21 | [Mutex] received everything.

2022-08-17 22:33:21 | [Mutex] isItemNotified: retracted:item:notifieditem-53fc5222-e383-43f5-bfd5-e82eebf4a188:admin@test-domain.com :: true

retrieveItemsFromNodes 0.250s
2022-08-17 22:33:21 |

2022-08-17 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:21 | ------------------------------------

2022-08-17 22:33:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-58e3586e-8426-4c14-abba-dd43108677c5</node><item-id>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</item-id></data>

2022-08-17 22:33:21 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-58e3586e-8426-4c14-abba-dd43108677c5</value></node><item-id type="text-single" label="Item ID"><value>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</value></item-id><item type="text-multi" label="Item"><value><item id="item-53fc5222-e383-43f5-bfd5-e82eebf4a188"><test>item-53fc5222-e383-43f5-bfd5-e82eebf4a188</test></item></value></item></result>

2022-08-17 22:33:21 | [Mutex] notify: [retrieved:item:item-53fc5222-e383-43f5-bfd5-e82eebf4a188:payload-matches:true:localhost]

2022-08-17 22:33:21 | [Mutex] received everything.

2022-08-17 22:33:21 | [Mutex] isItemNotified: retrieved:item:item-53fc5222-e383-43f5-bfd5-e82eebf4a188:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-17 22:33:21 |

2022-08-17 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:21 | ------------------------------------

2022-08-17 22:33:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-08-17 22:33:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-58e3586e-8426-4c14-abba-dd43108677c5</value><value>test</value><value>node-87d8e162-bc73-4028-afbe-c8f09a8923b8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-17 22:33:21 |

2022-08-17 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:21 | ------------------------------------

2022-08-17 22:33:21 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-58e3586e-8426-4c14-abba-dd43108677c5)</node-pattern></data>

2022-08-17 22:33:21 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.160s
2022-08-17 22:33:19 |

2022-08-17 22:33:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:19 | ------------------------------------

2022-08-17 22:33:19 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-58e3586e-8426-4c14-abba-dd43108677c5</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-17 22:33:19 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.250s
2022-08-17 22:33:21 |

2022-08-17 22:33:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-17 22:33:21 | ------------------------------------

2022-08-17 22:33:21 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-58e3586e-8426-4c14-abba-dd43108677c5</node><jids><value>admin@test-domain.com</value></jids></data>

2022-08-17 22:33:21 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>