Generated by TestNG with ReportNG at 22:14 PDT on Friday 04 June 2021
root@785cf647a4ab / 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.577s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.138s
2021-06-04 22:28:28 |

2021-06-04 22:28:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:28 | ------------------------------------

2021-06-04 22:28:28 | [Mutex] waiting for: [configured:node:node-50fa7bbe-32c2-49d3-a294-26877d6cfb14:node-1224cfcf-9c68-4f68-8b48-8c339758e19e]

2021-06-04 22:28:28 | [Mutex] received everything.

2021-06-04 22:28:28 | [Mutex] isItemNotified: configured:node:node-50fa7bbe-32c2-49d3-a294-26877d6cfb14:node-1224cfcf-9c68-4f68-8b48-8c339758e19e :: true

2021-06-04 22:28:29 | [Mutex] waiting for: [received:nodes:4875f1db-45e7-43fc-bdf3-910ead24b8d4:localhost]

2021-06-04 22:28:29 | [Mutex] received everything.

2021-06-04 22:28:29 | [Mutex] isItemNotified: received:node:4875f1db-45e7-43fc-bdf3-910ead24b8d4:localhost:node-50fa7bbe-32c2-49d3-a294-26877d6cfb14:Node 50fa7bbe-32c2-49d3-a294-26877d6cfb14 :: true

2021-06-04 22:28:29 | [Mutex] waiting for: [received:nodes:1878c890-0bbe-4a79-b695-94a81fe02a2d:localhost]

2021-06-04 22:28:29 | [Mutex] waiting for: [received:nodes:1878c890-0bbe-4a79-b695-94a81fe02a2d:localhost]

2021-06-04 22:28:29 | [Mutex] waiting for: [received:nodes:1878c890-0bbe-4a79-b695-94a81fe02a2d:localhost]

2021-06-04 22:28:29 | [Mutex] received everything.

2021-06-04 22:28:29 | [Mutex] isItemNotified: received:node:1878c890-0bbe-4a79-b695-94a81fe02a2d:localhost:node-50fa7bbe-32c2-49d3-a294-26877d6cfb14:Node 50fa7bbe-32c2-49d3-a294-26877d6cfb14 :: false

createNodes 1.545s
2021-06-04 22:28:25 |

2021-06-04 22:28:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:25 | ------------------------------------

2021-06-04 22:28:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 50fa7bbe-32c2-49d3-a294-26877d6cfb14</title></pubsub></data>

2021-06-04 22:28:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-04 22:28:27 | [Mutex] waiting for: [received:nodes:6834038e-7a3c-4895-a4fe-d166bd1daff9:localhost]

2021-06-04 22:28:27 | [Mutex] waiting for: [received:nodes:6834038e-7a3c-4895-a4fe-d166bd1daff9:localhost]

2021-06-04 22:28:27 | [Mutex] received everything.

2021-06-04 22:28:27 | [Mutex] isItemNotified: received:node:6834038e-7a3c-4895-a4fe-d166bd1daff9:localhost:node-50fa7bbe-32c2-49d3-a294-26877d6cfb14:Node 50fa7bbe-32c2-49d3-a294-26877d6cfb14 :: true

createSubnodes 1.027s
2021-06-04 22:28:27 |

2021-06-04 22:28:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:27 | ------------------------------------

2021-06-04 22:28:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-1224cfcf-9c68-4f68-8b48-8c339758e19e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1224cfcf-9c68-4f68-8b48-8c339758e19e</title></pubsub></data>

2021-06-04 22:28:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-04 22:28:28 | [Mutex] waiting for: [received:nodes:c2627a19-93e5-462c-94af-525b80ac3843:localhost]

2021-06-04 22:28:28 | [Mutex] received everything.

2021-06-04 22:28:28 | [Mutex] isItemNotified: received:node:c2627a19-93e5-462c-94af-525b80ac3843:localhost:node-1224cfcf-9c68-4f68-8b48-8c339758e19e:Node 1224cfcf-9c68-4f68-8b48-8c339758e19e :: true

deleteNodes 1.022s
2021-06-04 22:28:34 |

2021-06-04 22:28:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:34 | ------------------------------------

2021-06-04 22:28:34 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-1224cfcf-9c68-4f68-8b48-8c339758e19e</node></data>

2021-06-04 22:28:34 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-06-04 22:28:35 | [Mutex] waiting for: [received:nodes:5a9d80de-7e03-419b-b3b9-c66b3e3e76db:localhost]

2021-06-04 22:28:35 | [Mutex] waiting for: [received:nodes:5a9d80de-7e03-419b-b3b9-c66b3e3e76db:localhost]

2021-06-04 22:28:35 | [Mutex] received everything.

2021-06-04 22:28:35 | [Mutex] isItemNotified: received:node:5a9d80de-7e03-419b-b3b9-c66b3e3e76db:localhost:node-1224cfcf-9c68-4f68-8b48-8c339758e19e:Node 1224cfcf-9c68-4f68-8b48-8c339758e19e :: false

deleteSubnodes 1.182s
2021-06-04 22:28:33 |

2021-06-04 22:28:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:33 | ------------------------------------

2021-06-04 22:28:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</node></data>

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

2021-06-04 22:28:34 | [Mutex] waiting for: [received:nodes:1840a04a-9440-44c5-bba3-03f00173b864:localhost]

2021-06-04 22:28:34 | [Mutex] received everything.

2021-06-04 22:28:34 | [Mutex] isItemNotified: received:node:1840a04a-9440-44c5-bba3-03f00173b864:localhost:node-50fa7bbe-32c2-49d3-a294-26877d6cfb14:Node 50fa7bbe-32c2-49d3-a294-26877d6cfb14 :: false

2021-06-04 22:28:34 | [Mutex] waiting for: [received:nodes:b013e041-2549-4d45-8a19-d86f41e74cfe:localhost]

2021-06-04 22:28:34 | [Mutex] received everything.

2021-06-04 22:28:34 | [Mutex] isItemNotified: received:node:b013e041-2549-4d45-8a19-d86f41e74cfe:localhost:node-50fa7bbe-32c2-49d3-a294-26877d6cfb14:Node 50fa7bbe-32c2-49d3-a294-26877d6cfb14 :: false

publishItemsToNodes 0.292s
2021-06-04 22:28:30 |

2021-06-04 22:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:30 | ------------------------------------

2021-06-04 22:28:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</node><item-id>item-10763c84-673e-4ef6-9793-8552c16db0b9</item-id><entry><test>item-10763c84-673e-4ef6-9793-8552c16db0b9</test></entry></data>

2021-06-04 22:28:30 | 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-10763c84-673e-4ef6-9793-8552c16db0b9</value></item-id></result>

2021-06-04 22:28:30 | [Mutex] waiting for: [published:item:notifieditem-10763c84-673e-4ef6-9793-8552c16db0b9:admin@test-domain.com]

2021-06-04 22:28:30 | [Mutex] received everything.

2021-06-04 22:28:30 | [Mutex] isItemNotified: published:item:notifieditem-10763c84-673e-4ef6-9793-8552c16db0b9:admin@test-domain.com :: true

retractItemsFromNodes 0.451s
2021-06-04 22:28:31 |

2021-06-04 22:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:31 | ------------------------------------

2021-06-04 22:28:31 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</node><item-id>item-10763c84-673e-4ef6-9793-8552c16db0b9</item-id></data>

2021-06-04 22:28:31 | 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-10763c84-673e-4ef6-9793-8552c16db0b9</value></item-id></result>

2021-06-04 22:28:31 | [Mutex] received everything.

2021-06-04 22:28:31 | [Mutex] isItemNotified: retracted:item:notifieditem-10763c84-673e-4ef6-9793-8552c16db0b9:admin@test-domain.com :: true

retrieveItemsFromNodes 0.319s
2021-06-04 22:28:30 |

2021-06-04 22:28:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:30 | ------------------------------------

2021-06-04 22:28:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</node><item-id>item-10763c84-673e-4ef6-9793-8552c16db0b9</item-id></data>

2021-06-04 22:28:31 | 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-50fa7bbe-32c2-49d3-a294-26877d6cfb14</value></node><item-id type="text-single" label="Item ID"><value>item-10763c84-673e-4ef6-9793-8552c16db0b9</value></item-id><item type="text-multi" label="Item"><value><item id="item-10763c84-673e-4ef6-9793-8552c16db0b9"><test>item-10763c84-673e-4ef6-9793-8552c16db0b9</test></item></value></item></result>

2021-06-04 22:28:31 | [Mutex] notify: [retrieved:item:item-10763c84-673e-4ef6-9793-8552c16db0b9:payload-matches:true:localhost]

2021-06-04 22:28:31 | [Mutex] received everything.

2021-06-04 22:28:31 | [Mutex] isItemNotified: retrieved:item:item-10763c84-673e-4ef6-9793-8552c16db0b9:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-06-04 22:28:31 |

2021-06-04 22:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:31 | ------------------------------------

2021-06-04 22:28:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-06-04 22:28:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-1224cfcf-9c68-4f68-8b48-8c339758e19e</value><value>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-06-04 22:28:31 |

2021-06-04 22:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:31 | ------------------------------------

2021-06-04 22:28:31 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-50fa7bbe-32c2-49d3-a294-26877d6cfb14)</node-pattern></data>

2021-06-04 22:28:31 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.175s
2021-06-04 22:28:29 |

2021-06-04 22:28:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:29 | ------------------------------------

2021-06-04 22:28:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-04 22:28:29 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.307s
2021-06-04 22:28:31 |

2021-06-04 22:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-06-04 22:28:31 | ------------------------------------

2021-06-04 22:28:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-50fa7bbe-32c2-49d3-a294-26877d6cfb14</node><jids><value>admin@test-domain.com</value></jids></data>

2021-06-04 22:28:32 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>