Generated by TestNG with ReportNG at 22:30 PDT on Saturday 19 September 2020
root@f123032b650e / 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 : 10.032s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.116s
2020-09-19 22:46:19 |

2020-09-19 22:46:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:19 | ------------------------------------

2020-09-19 22:46:19 | [Mutex] waiting for: [configured:node:node-1d92f387-aab8-4485-b563-518b88262079:node-e24c19fb-f53a-4223-a8a4-a30d7c1d8b87]

2020-09-19 22:46:19 | [Mutex] received everything.

2020-09-19 22:46:19 | [Mutex] isItemNotified: configured:node:node-1d92f387-aab8-4485-b563-518b88262079:node-e24c19fb-f53a-4223-a8a4-a30d7c1d8b87 :: true

2020-09-19 22:46:20 | [Mutex] waiting for: [received:nodes:a17bffed-8536-43bc-b6d3-8fd3a4e66525:localhost]

2020-09-19 22:46:20 | [Mutex] received everything.

2020-09-19 22:46:20 | [Mutex] isItemNotified: received:node:a17bffed-8536-43bc-b6d3-8fd3a4e66525:localhost:node-1d92f387-aab8-4485-b563-518b88262079:Node 1d92f387-aab8-4485-b563-518b88262079 :: true

2020-09-19 22:46:20 | [Mutex] waiting for: [received:nodes:6746559e-f510-464e-9f51-5331bad5c9d3:localhost]

2020-09-19 22:46:20 | [Mutex] received everything.

2020-09-19 22:46:20 | [Mutex] isItemNotified: received:node:6746559e-f510-464e-9f51-5331bad5c9d3:localhost:node-1d92f387-aab8-4485-b563-518b88262079:Node 1d92f387-aab8-4485-b563-518b88262079 :: false

createNodes 1.504s
2020-09-19 22:46:16 |

2020-09-19 22:46:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:16 | ------------------------------------

2020-09-19 22:46:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1d92f387-aab8-4485-b563-518b88262079</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 1d92f387-aab8-4485-b563-518b88262079</title></pubsub></data>

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

2020-09-19 22:46:18 | [Mutex] waiting for: [received:nodes:59fc3363-6fcf-4d7a-b889-204e506b1880:localhost]

2020-09-19 22:46:18 | [Mutex] received everything.

2020-09-19 22:46:18 | [Mutex] isItemNotified: received:node:59fc3363-6fcf-4d7a-b889-204e506b1880:localhost:node-1d92f387-aab8-4485-b563-518b88262079:Node 1d92f387-aab8-4485-b563-518b88262079 :: true

createSubnodes 1.025s
2020-09-19 22:46:18 |

2020-09-19 22:46:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:18 | ------------------------------------

2020-09-19 22:46:18 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e24c19fb-f53a-4223-a8a4-a30d7c1d8b87</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e24c19fb-f53a-4223-a8a4-a30d7c1d8b87</title></pubsub></data>

2020-09-19 22:46:18 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-19 22:46:19 | [Mutex] waiting for: [received:nodes:5a2123d8-f207-4d41-92f5-77370b8e5f8d:localhost]

2020-09-19 22:46:19 | [Mutex] received everything.

2020-09-19 22:46:19 | [Mutex] isItemNotified: received:node:5a2123d8-f207-4d41-92f5-77370b8e5f8d:localhost:node-e24c19fb-f53a-4223-a8a4-a30d7c1d8b87:Node e24c19fb-f53a-4223-a8a4-a30d7c1d8b87 :: true

deleteNodes 1.017s
2020-09-19 22:46:24 |

2020-09-19 22:46:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:24 | ------------------------------------

2020-09-19 22:46:24 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e24c19fb-f53a-4223-a8a4-a30d7c1d8b87</node></data>

2020-09-19 22:46:24 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-19 22:46:25 | [Mutex] waiting for: [received:nodes:5ed0c986-6e7a-4a0b-8491-808c801a6e6c:localhost]

2020-09-19 22:46:25 | [Mutex] received everything.

2020-09-19 22:46:25 | [Mutex] isItemNotified: received:node:5ed0c986-6e7a-4a0b-8491-808c801a6e6c:localhost:node-e24c19fb-f53a-4223-a8a4-a30d7c1d8b87:Node e24c19fb-f53a-4223-a8a4-a30d7c1d8b87 :: false

deleteSubnodes 1.130s
2020-09-19 22:46:23 |

2020-09-19 22:46:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:23 | ------------------------------------

2020-09-19 22:46:23 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1d92f387-aab8-4485-b563-518b88262079</node></data>

2020-09-19 22:46:23 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-19 22:46:24 | [Mutex] waiting for: [received:nodes:e133a110-5c0d-4d2c-9778-091509083f84:localhost]

2020-09-19 22:46:24 | [Mutex] received everything.

2020-09-19 22:46:24 | [Mutex] isItemNotified: received:node:e133a110-5c0d-4d2c-9778-091509083f84:localhost:node-1d92f387-aab8-4485-b563-518b88262079:Node 1d92f387-aab8-4485-b563-518b88262079 :: false

2020-09-19 22:46:24 | [Mutex] waiting for: [received:nodes:10f80b30-5c40-4a3b-bf59-bc438a52e9ad:localhost]

2020-09-19 22:46:24 | [Mutex] received everything.

2020-09-19 22:46:24 | [Mutex] isItemNotified: received:node:10f80b30-5c40-4a3b-bf59-bc438a52e9ad:localhost:node-1d92f387-aab8-4485-b563-518b88262079:Node 1d92f387-aab8-4485-b563-518b88262079 :: false

publishItemsToNodes 0.253s
2020-09-19 22:46:21 |

2020-09-19 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:21 | ------------------------------------

2020-09-19 22:46:21 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-1d92f387-aab8-4485-b563-518b88262079</node><item-id>item-f4173db0-70d5-4037-bcb3-c6a1defb98c6</item-id><entry><test>item-f4173db0-70d5-4037-bcb3-c6a1defb98c6</test></entry></data>

2020-09-19 22:46:21 | 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-f4173db0-70d5-4037-bcb3-c6a1defb98c6</value></item-id></result>

2020-09-19 22:46:21 | [Mutex] received everything.

2020-09-19 22:46:21 | [Mutex] isItemNotified: published:item:notifieditem-f4173db0-70d5-4037-bcb3-c6a1defb98c6:admin@test-domain.com :: true

retractItemsFromNodes 0.235s
2020-09-19 22:46:22 |

2020-09-19 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:22 | ------------------------------------

2020-09-19 22:46:22 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-1d92f387-aab8-4485-b563-518b88262079</node><item-id>item-f4173db0-70d5-4037-bcb3-c6a1defb98c6</item-id></data>

2020-09-19 22:46:22 | 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-f4173db0-70d5-4037-bcb3-c6a1defb98c6</value></item-id></result>

2020-09-19 22:46:22 | [Mutex] received everything.

2020-09-19 22:46:22 | [Mutex] isItemNotified: retracted:item:notifieditem-f4173db0-70d5-4037-bcb3-c6a1defb98c6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.248s
2020-09-19 22:46:21 |

2020-09-19 22:46:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:21 | ------------------------------------

2020-09-19 22:46:21 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-1d92f387-aab8-4485-b563-518b88262079</node><item-id>item-f4173db0-70d5-4037-bcb3-c6a1defb98c6</item-id></data>

2020-09-19 22:46:22 | 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-1d92f387-aab8-4485-b563-518b88262079</value></node><item-id type="text-single" label="Item ID"><value>item-f4173db0-70d5-4037-bcb3-c6a1defb98c6</value></item-id><item type="text-multi" label="Item"><value><item id="item-f4173db0-70d5-4037-bcb3-c6a1defb98c6"><test>item-f4173db0-70d5-4037-bcb3-c6a1defb98c6</test></item></value></item></result>

2020-09-19 22:46:22 | [Mutex] notify: [retrieved:item:item-f4173db0-70d5-4037-bcb3-c6a1defb98c6:payload-matches:true:localhost]

2020-09-19 22:46:22 | [Mutex] received everything.

2020-09-19 22:46:22 | [Mutex] isItemNotified: retrieved:item:item-f4173db0-70d5-4037-bcb3-c6a1defb98c6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2020-09-19 22:46:22 |

2020-09-19 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:22 | ------------------------------------

2020-09-19 22:46:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-19 22:46:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-e24c19fb-f53a-4223-a8a4-a30d7c1d8b87</value><value>test</value><value>node-1d92f387-aab8-4485-b563-518b88262079</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2020-09-19 22:46:22 |

2020-09-19 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:22 | ------------------------------------

2020-09-19 22:46:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-1d92f387-aab8-4485-b563-518b88262079)</node-pattern></data>

2020-09-19 22:46:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.143s
2020-09-19 22:46:20 |

2020-09-19 22:46:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:20 | ------------------------------------

2020-09-19 22:46:20 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-1d92f387-aab8-4485-b563-518b88262079</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-19 22:46:20 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.235s
2020-09-19 22:46:22 |

2020-09-19 22:46:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-19 22:46:22 | ------------------------------------

2020-09-19 22:46:22 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-1d92f387-aab8-4485-b563-518b88262079</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-19 22:46:22 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>