Generated by TestNG with ReportNG at 22:44 PDT on Wednesday 05 May 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.350s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.148s
2021-05-05 22:59:53 |

2021-05-05 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:53 | ------------------------------------

2021-05-05 22:59:53 | [Mutex] waiting for: [configured:node:node-ae87832a-52d4-4d69-badf-9b4e368b94c5:node-6994fcb3-f18a-4824-aba6-56a0b9b15982]

2021-05-05 22:59:53 | [Mutex] received everything.

2021-05-05 22:59:53 | [Mutex] isItemNotified: configured:node:node-ae87832a-52d4-4d69-badf-9b4e368b94c5:node-6994fcb3-f18a-4824-aba6-56a0b9b15982 :: true

2021-05-05 22:59:54 | [Mutex] waiting for: [received:nodes:35651b5b-d19f-44c5-bf0d-71e4ecf34b07:localhost]

2021-05-05 22:59:54 | [Mutex] received everything.

2021-05-05 22:59:54 | [Mutex] isItemNotified: received:node:35651b5b-d19f-44c5-bf0d-71e4ecf34b07:localhost:node-ae87832a-52d4-4d69-badf-9b4e368b94c5:Node ae87832a-52d4-4d69-badf-9b4e368b94c5 :: true

2021-05-05 22:59:54 | [Mutex] waiting for: [received:nodes:73504237-7314-4a77-8368-2eff5993a632:localhost]

2021-05-05 22:59:54 | [Mutex] received everything.

2021-05-05 22:59:54 | [Mutex] isItemNotified: received:node:73504237-7314-4a77-8368-2eff5993a632:localhost:node-ae87832a-52d4-4d69-badf-9b4e368b94c5:Node ae87832a-52d4-4d69-badf-9b4e368b94c5 :: false

createNodes 1.516s
2021-05-05 22:59:50 |

2021-05-05 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:50 | ------------------------------------

2021-05-05 22:59:50 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ae87832a-52d4-4d69-badf-9b4e368b94c5</title></pubsub></data>

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

2021-05-05 22:59:51 | [Mutex] waiting for: [received:nodes:0b8dbc6f-d184-4915-8d28-646fa0da016c:localhost]

2021-05-05 22:59:51 | [Mutex] received everything.

2021-05-05 22:59:51 | [Mutex] isItemNotified: received:node:0b8dbc6f-d184-4915-8d28-646fa0da016c:localhost:node-ae87832a-52d4-4d69-badf-9b4e368b94c5:Node ae87832a-52d4-4d69-badf-9b4e368b94c5 :: true

createSubnodes 1.026s
2021-05-05 22:59:51 |

2021-05-05 22:59:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:51 | ------------------------------------

2021-05-05 22:59:51 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6994fcb3-f18a-4824-aba6-56a0b9b15982</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6994fcb3-f18a-4824-aba6-56a0b9b15982</title></pubsub></data>

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

2021-05-05 22:59:53 | [Mutex] waiting for: [received:nodes:181f7e85-d7c7-4037-bde4-ece818ad66a2:localhost]

2021-05-05 22:59:53 | [Mutex] received everything.

2021-05-05 22:59:53 | [Mutex] isItemNotified: received:node:181f7e85-d7c7-4037-bde4-ece818ad66a2:localhost:node-6994fcb3-f18a-4824-aba6-56a0b9b15982:Node 6994fcb3-f18a-4824-aba6-56a0b9b15982 :: true

deleteNodes 1.021s
2021-05-05 22:59:58 |

2021-05-05 22:59:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:58 | ------------------------------------

2021-05-05 22:59:58 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6994fcb3-f18a-4824-aba6-56a0b9b15982</node></data>

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

2021-05-05 22:59:59 | [Mutex] waiting for: [received:nodes:7ba6f9c7-896f-4868-996f-eb6ec1cc91b8:localhost]

2021-05-05 22:59:59 | [Mutex] received everything.

2021-05-05 22:59:59 | [Mutex] isItemNotified: received:node:7ba6f9c7-896f-4868-996f-eb6ec1cc91b8:localhost:node-6994fcb3-f18a-4824-aba6-56a0b9b15982:Node 6994fcb3-f18a-4824-aba6-56a0b9b15982 :: false

deleteSubnodes 1.193s
2021-05-05 22:59:57 |

2021-05-05 22:59:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:57 | ------------------------------------

2021-05-05 22:59:57 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</node></data>

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

2021-05-05 22:59:58 | [Mutex] waiting for: [received:nodes:cf4784cf-f823-4750-93c9-4fed4766cb6c:localhost]

2021-05-05 22:59:58 | [Mutex] received everything.

2021-05-05 22:59:58 | [Mutex] isItemNotified: received:node:cf4784cf-f823-4750-93c9-4fed4766cb6c:localhost:node-ae87832a-52d4-4d69-badf-9b4e368b94c5:Node ae87832a-52d4-4d69-badf-9b4e368b94c5 :: false

2021-05-05 22:59:58 | [Mutex] waiting for: [received:nodes:4cd2ea12-eedc-4e7d-9a69-182496d13d8d:localhost]

2021-05-05 22:59:58 | [Mutex] received everything.

2021-05-05 22:59:58 | [Mutex] isItemNotified: received:node:4cd2ea12-eedc-4e7d-9a69-182496d13d8d:localhost:node-ae87832a-52d4-4d69-badf-9b4e368b94c5:Node ae87832a-52d4-4d69-badf-9b4e368b94c5 :: false

publishItemsToNodes 0.260s
2021-05-05 22:59:55 |

2021-05-05 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:55 | ------------------------------------

2021-05-05 22:59:55 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</node><item-id>item-be44a97f-c51f-4d58-8eb8-75a87749b62d</item-id><entry><test>item-be44a97f-c51f-4d58-8eb8-75a87749b62d</test></entry></data>

2021-05-05 22:59:55 | 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-be44a97f-c51f-4d58-8eb8-75a87749b62d</value></item-id></result>

2021-05-05 22:59:55 | [Mutex] waiting for: [published:item:notifieditem-be44a97f-c51f-4d58-8eb8-75a87749b62d:admin@test-domain.com]

2021-05-05 22:59:55 | [Mutex] received everything.

2021-05-05 22:59:55 | [Mutex] isItemNotified: published:item:notifieditem-be44a97f-c51f-4d58-8eb8-75a87749b62d:admin@test-domain.com :: true

retractItemsFromNodes 0.328s
2021-05-05 22:59:56 |

2021-05-05 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:56 | ------------------------------------

2021-05-05 22:59:56 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</node><item-id>item-be44a97f-c51f-4d58-8eb8-75a87749b62d</item-id></data>

2021-05-05 22:59:56 | 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-be44a97f-c51f-4d58-8eb8-75a87749b62d</value></item-id></result>

2021-05-05 22:59:56 | [Mutex] received everything.

2021-05-05 22:59:56 | [Mutex] isItemNotified: retracted:item:notifieditem-be44a97f-c51f-4d58-8eb8-75a87749b62d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.345s
2021-05-05 22:59:55 |

2021-05-05 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:55 | ------------------------------------

2021-05-05 22:59:55 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</node><item-id>item-be44a97f-c51f-4d58-8eb8-75a87749b62d</item-id></data>

2021-05-05 22:59:55 | 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-ae87832a-52d4-4d69-badf-9b4e368b94c5</value></node><item-id type="text-single" label="Item ID"><value>item-be44a97f-c51f-4d58-8eb8-75a87749b62d</value></item-id><item type="text-multi" label="Item"><value><item id="item-be44a97f-c51f-4d58-8eb8-75a87749b62d"><test>item-be44a97f-c51f-4d58-8eb8-75a87749b62d</test></item></value></item></result>

2021-05-05 22:59:55 | [Mutex] notify: [retrieved:item:item-be44a97f-c51f-4d58-8eb8-75a87749b62d:payload-matches:true:localhost]

2021-05-05 22:59:55 | [Mutex] received everything.

2021-05-05 22:59:55 | [Mutex] isItemNotified: retrieved:item:item-be44a97f-c51f-4d58-8eb8-75a87749b62d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-05-05 22:59:55 |

2021-05-05 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:55 | ------------------------------------

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

2021-05-05 22:59:55 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</value><value>test</value><value>node-6994fcb3-f18a-4824-aba6-56a0b9b15982</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2021-05-05 22:59:55 |

2021-05-05 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:55 | ------------------------------------

2021-05-05 22:59:55 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ae87832a-52d4-4d69-badf-9b4e368b94c5)</node-pattern></data>

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

subscribeNodes 1.158s
2021-05-05 22:59:54 |

2021-05-05 22:59:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:54 | ------------------------------------

2021-05-05 22:59:54 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.318s
2021-05-05 22:59:56 |

2021-05-05 22:59:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-05-05 22:59:56 | ------------------------------------

2021-05-05 22:59:56 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ae87832a-52d4-4d69-badf-9b4e368b94c5</node><jids><value>admin@test-domain.com</value></jids></data>

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