Generated by TestNG with ReportNG at 21:26 PST on Monday 08 March 2021
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.779s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.137s
2021-03-08 21:41:25 |

2021-03-08 21:41:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:25 | ------------------------------------

2021-03-08 21:41:25 | [Mutex] waiting for: [configured:node:node-c8282c5a-c856-4a8e-b412-e277a3142cb1:node-3de167e3-724b-45d2-87dd-cff6bb28a863]

2021-03-08 21:41:25 | [Mutex] received everything.

2021-03-08 21:41:25 | [Mutex] isItemNotified: configured:node:node-c8282c5a-c856-4a8e-b412-e277a3142cb1:node-3de167e3-724b-45d2-87dd-cff6bb28a863 :: true

2021-03-08 21:41:26 | [Mutex] waiting for: [received:nodes:5564bcaa-e309-4390-93b5-278b0ca60103:localhost]

2021-03-08 21:41:26 | [Mutex] received everything.

2021-03-08 21:41:26 | [Mutex] isItemNotified: received:node:5564bcaa-e309-4390-93b5-278b0ca60103:localhost:node-c8282c5a-c856-4a8e-b412-e277a3142cb1:Node c8282c5a-c856-4a8e-b412-e277a3142cb1 :: true

2021-03-08 21:41:26 | [Mutex] waiting for: [received:nodes:c46d8545-f87d-45dd-84e9-3a044290a96f:localhost]

2021-03-08 21:41:26 | [Mutex] received everything.

2021-03-08 21:41:26 | [Mutex] isItemNotified: received:node:c46d8545-f87d-45dd-84e9-3a044290a96f:localhost:node-c8282c5a-c856-4a8e-b412-e277a3142cb1:Node c8282c5a-c856-4a8e-b412-e277a3142cb1 :: false

createNodes 1.443s
2021-03-08 21:41:23 |

2021-03-08 21:41:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:23 | ------------------------------------

2021-03-08 21:41:23 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c8282c5a-c856-4a8e-b412-e277a3142cb1</title></pubsub></data>

2021-03-08 21:41:23 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 21:41:24 | [Mutex] waiting for: [received:nodes:5d8afe97-c817-4218-9eb5-1cc7258738bf:localhost]

2021-03-08 21:41:24 | [Mutex] received everything.

2021-03-08 21:41:24 | [Mutex] isItemNotified: received:node:5d8afe97-c817-4218-9eb5-1cc7258738bf:localhost:node-c8282c5a-c856-4a8e-b412-e277a3142cb1:Node c8282c5a-c856-4a8e-b412-e277a3142cb1 :: true

createSubnodes 1.022s
2021-03-08 21:41:24 |

2021-03-08 21:41:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:24 | ------------------------------------

2021-03-08 21:41:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3de167e3-724b-45d2-87dd-cff6bb28a863</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3de167e3-724b-45d2-87dd-cff6bb28a863</title></pubsub></data>

2021-03-08 21:41:24 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 21:41:25 | [Mutex] waiting for: [received:nodes:35b24cd4-f5e7-46a5-ad9d-1eed9e229c78:localhost]

2021-03-08 21:41:25 | [Mutex] received everything.

2021-03-08 21:41:25 | [Mutex] isItemNotified: received:node:35b24cd4-f5e7-46a5-ad9d-1eed9e229c78:localhost:node-3de167e3-724b-45d2-87dd-cff6bb28a863:Node 3de167e3-724b-45d2-87dd-cff6bb28a863 :: true

deleteNodes 1.018s
2021-03-08 21:41:30 |

2021-03-08 21:41:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:30 | ------------------------------------

2021-03-08 21:41:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3de167e3-724b-45d2-87dd-cff6bb28a863</node></data>

2021-03-08 21:41:30 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 21:41:31 | [Mutex] waiting for: [received:nodes:97733e75-a574-45b9-9f19-0e530db1055b:localhost]

2021-03-08 21:41:31 | [Mutex] received everything.

2021-03-08 21:41:31 | [Mutex] isItemNotified: received:node:97733e75-a574-45b9-9f19-0e530db1055b:localhost:node-3de167e3-724b-45d2-87dd-cff6bb28a863:Node 3de167e3-724b-45d2-87dd-cff6bb28a863 :: false

deleteSubnodes 1.105s
2021-03-08 21:41:29 |

2021-03-08 21:41:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:29 | ------------------------------------

2021-03-08 21:41:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</node></data>

2021-03-08 21:41:29 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-03-08 21:41:30 | [Mutex] waiting for: [received:nodes:f8e6d2d9-267b-4454-929a-766972acb3f3:localhost]

2021-03-08 21:41:30 | [Mutex] waiting for: [received:nodes:f8e6d2d9-267b-4454-929a-766972acb3f3:localhost]

2021-03-08 21:41:30 | [Mutex] waiting for: [received:nodes:f8e6d2d9-267b-4454-929a-766972acb3f3:localhost]

2021-03-08 21:41:30 | [Mutex] received everything.

2021-03-08 21:41:30 | [Mutex] isItemNotified: received:node:f8e6d2d9-267b-4454-929a-766972acb3f3:localhost:node-c8282c5a-c856-4a8e-b412-e277a3142cb1:Node c8282c5a-c856-4a8e-b412-e277a3142cb1 :: false

2021-03-08 21:41:30 | [Mutex] waiting for: [received:nodes:a88b1f41-d7f0-4956-8b63-adbd0c605f50:localhost]

2021-03-08 21:41:30 | [Mutex] received everything.

2021-03-08 21:41:30 | [Mutex] isItemNotified: received:node:a88b1f41-d7f0-4956-8b63-adbd0c605f50:localhost:node-c8282c5a-c856-4a8e-b412-e277a3142cb1:Node c8282c5a-c856-4a8e-b412-e277a3142cb1 :: false

publishItemsToNodes 0.244s
2021-03-08 21:41:27 |

2021-03-08 21:41:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:27 | ------------------------------------

2021-03-08 21:41:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</node><item-id>item-646b2835-f46f-4333-b410-42bfbd66203a</item-id><entry><test>item-646b2835-f46f-4333-b410-42bfbd66203a</test></entry></data>

2021-03-08 21:41:28 | from localhost for action publish-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-646b2835-f46f-4333-b410-42bfbd66203a</value></item-id></result>

2021-03-08 21:41:28 | [Mutex] received everything.

2021-03-08 21:41:28 | [Mutex] isItemNotified: published:item:notifieditem-646b2835-f46f-4333-b410-42bfbd66203a:admin@test-domain.com :: true

retractItemsFromNodes 0.200s
2021-03-08 21:41:28 |

2021-03-08 21:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:28 | ------------------------------------

2021-03-08 21:41:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</node><item-id>item-646b2835-f46f-4333-b410-42bfbd66203a</item-id></data>

2021-03-08 21:41:28 | from localhost for action delete-item got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-646b2835-f46f-4333-b410-42bfbd66203a</value></item-id></result>

2021-03-08 21:41:28 | [Mutex] received everything.

2021-03-08 21:41:28 | [Mutex] isItemNotified: retracted:item:notifieditem-646b2835-f46f-4333-b410-42bfbd66203a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.227s
2021-03-08 21:41:28 |

2021-03-08 21:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:28 | ------------------------------------

2021-03-08 21:41:28 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</node><item-id>item-646b2835-f46f-4333-b410-42bfbd66203a</item-id></data>

2021-03-08 21:41:28 | from localhost for action retrieve-item got result code 200 and payload
<result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</value></node><item-id label="Item ID" type="text-single"><value>item-646b2835-f46f-4333-b410-42bfbd66203a</value></item-id><item label="Item" type="text-multi"><value><item id="item-646b2835-f46f-4333-b410-42bfbd66203a"><test>item-646b2835-f46f-4333-b410-42bfbd66203a</test></item></value></item></result>

2021-03-08 21:41:28 | [Mutex] notify: [retrieved:item:item-646b2835-f46f-4333-b410-42bfbd66203a:payload-matches:true:localhost]

2021-03-08 21:41:28 | [Mutex] received everything.

2021-03-08 21:41:28 | [Mutex] isItemNotified: retrieved:item:item-646b2835-f46f-4333-b410-42bfbd66203a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2021-03-08 21:41:28 |

2021-03-08 21:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:28 | ------------------------------------

2021-03-08 21:41:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-03-08 21:41:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-3de167e3-724b-45d2-87dd-cff6bb28a863</value><value>test</value><value>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.059s
2021-03-08 21:41:28 |

2021-03-08 21:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:28 | ------------------------------------

2021-03-08 21:41:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c8282c5a-c856-4a8e-b412-e277a3142cb1)</node-pattern></data>

2021-03-08 21:41:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.104s
2021-03-08 21:41:26 |

2021-03-08 21:41:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:26 | ------------------------------------

2021-03-08 21:41:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-08 21:41:26 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.211s
2021-03-08 21:41:28 |

2021-03-08 21:41:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-03-08 21:41:28 | ------------------------------------

2021-03-08 21:41:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c8282c5a-c856-4a8e-b412-e277a3142cb1</node><jids><value>admin@test-domain.com</value></jids></data>

2021-03-08 21:41:28 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>