Generated by TestNG with ReportNG at 22:20 PDT on Thursday 15 September 2022
root@ed1b7dd8a1b3 / 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.594s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.039s
2022-09-15 22:41:39 |

2022-09-15 22:41:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:39 | ------------------------------------

2022-09-15 22:41:39 | [Mutex] waiting for: [configured:node:node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8:node-ec665d19-6fbc-4537-b2a6-2f79f4c1e75e]

2022-09-15 22:41:39 | [Mutex] received everything.

2022-09-15 22:41:39 | [Mutex] isItemNotified: configured:node:node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8:node-ec665d19-6fbc-4537-b2a6-2f79f4c1e75e :: true

2022-09-15 22:41:40 | [Mutex] waiting for: [received:nodes:ec0c5f6a-2307-40a0-bb98-9db315cdca2d:localhost]

2022-09-15 22:41:40 | [Mutex] received everything.

2022-09-15 22:41:40 | [Mutex] isItemNotified: received:node:ec0c5f6a-2307-40a0-bb98-9db315cdca2d:localhost:node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8:Node d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8 :: true

2022-09-15 22:41:40 | [Mutex] waiting for: [received:nodes:4b3feb9b-0503-411d-a794-69882a525351:localhost]

2022-09-15 22:41:40 | [Mutex] waiting for: [received:nodes:4b3feb9b-0503-411d-a794-69882a525351:localhost]

2022-09-15 22:41:40 | [Mutex] received everything.

2022-09-15 22:41:40 | [Mutex] isItemNotified: received:node:4b3feb9b-0503-411d-a794-69882a525351:localhost:node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8:Node d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8 :: false

createNodes 1.412s
2022-09-15 22:41:37 |

2022-09-15 22:41:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:37 | ------------------------------------

2022-09-15 22:41:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</title></pubsub></data>

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

2022-09-15 22:41:38 | [Mutex] waiting for: [received:nodes:8926f963-9da9-42eb-b979-ee0360f7ffb7:localhost]

2022-09-15 22:41:38 | [Mutex] waiting for: [received:nodes:8926f963-9da9-42eb-b979-ee0360f7ffb7:localhost]

2022-09-15 22:41:38 | [Mutex] received everything.

2022-09-15 22:41:38 | [Mutex] isItemNotified: received:node:8926f963-9da9-42eb-b979-ee0360f7ffb7:localhost:node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8:Node d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8 :: true

createSubnodes 1.025s
2022-09-15 22:41:38 |

2022-09-15 22:41:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:38 | ------------------------------------

2022-09-15 22:41:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ec665d19-6fbc-4537-b2a6-2f79f4c1e75e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node ec665d19-6fbc-4537-b2a6-2f79f4c1e75e</title></pubsub></data>

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

2022-09-15 22:41:39 | [Mutex] waiting for: [received:nodes:1d439472-2024-42e8-80a8-5ec7ff21b56e:localhost]

2022-09-15 22:41:39 | [Mutex] received everything.

2022-09-15 22:41:39 | [Mutex] isItemNotified: received:node:1d439472-2024-42e8-80a8-5ec7ff21b56e:localhost:node-ec665d19-6fbc-4537-b2a6-2f79f4c1e75e:Node ec665d19-6fbc-4537-b2a6-2f79f4c1e75e :: true

deleteNodes 1.018s
2022-09-15 22:41:45 |

2022-09-15 22:41:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:45 | ------------------------------------

2022-09-15 22:41:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ec665d19-6fbc-4537-b2a6-2f79f4c1e75e</node></data>

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

2022-09-15 22:41:46 | [Mutex] waiting for: [received:nodes:065da8da-78d1-4d3b-9399-5b7a18ea7875:localhost]

2022-09-15 22:41:46 | [Mutex] waiting for: [received:nodes:065da8da-78d1-4d3b-9399-5b7a18ea7875:localhost]

2022-09-15 22:41:46 | [Mutex] received everything.

2022-09-15 22:41:46 | [Mutex] isItemNotified: received:node:065da8da-78d1-4d3b-9399-5b7a18ea7875:localhost:node-ec665d19-6fbc-4537-b2a6-2f79f4c1e75e:Node ec665d19-6fbc-4537-b2a6-2f79f4c1e75e :: false

deleteSubnodes 1.240s
2022-09-15 22:41:43 |

2022-09-15 22:41:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:43 | ------------------------------------

2022-09-15 22:41:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</node></data>

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

2022-09-15 22:41:45 | [Mutex] waiting for: [received:nodes:94cdb291-df83-48ca-96de-bfe72b5d98d9:localhost]

2022-09-15 22:41:45 | [Mutex] waiting for: [received:nodes:94cdb291-df83-48ca-96de-bfe72b5d98d9:localhost]

2022-09-15 22:41:45 | [Mutex] waiting for: [received:nodes:94cdb291-df83-48ca-96de-bfe72b5d98d9:localhost]

2022-09-15 22:41:45 | [Mutex] waiting for: [received:nodes:94cdb291-df83-48ca-96de-bfe72b5d98d9:localhost]

2022-09-15 22:41:45 | [Mutex] received everything.

2022-09-15 22:41:45 | [Mutex] isItemNotified: received:node:94cdb291-df83-48ca-96de-bfe72b5d98d9:localhost:node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8:Node d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8 :: false

2022-09-15 22:41:45 | [Mutex] waiting for: [received:nodes:774e6b36-bd4a-43f1-89c0-cfc997857bce:localhost]

2022-09-15 22:41:45 | [Mutex] received everything.

2022-09-15 22:41:45 | [Mutex] isItemNotified: received:node:774e6b36-bd4a-43f1-89c0-cfc997857bce:localhost:node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8:Node d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8 :: false

publishItemsToNodes 0.254s
2022-09-15 22:41:41 |

2022-09-15 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:41 | ------------------------------------

2022-09-15 22:41:41 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</node><item-id>item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</item-id><entry><test>item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</test></entry></data>

2022-09-15 22:41:41 | 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-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</value></item-id></result>

2022-09-15 22:41:41 | [Mutex] received everything.

2022-09-15 22:41:41 | [Mutex] isItemNotified: published:item:notifieditem-8d219336-fe0c-4e68-a061-d0ca1fe8eea2:admin@test-domain.com :: true

retractItemsFromNodes 0.283s
2022-09-15 22:41:42 |

2022-09-15 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:42 | ------------------------------------

2022-09-15 22:41:42 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</node><item-id>item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</item-id></data>

2022-09-15 22:41:42 | 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-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</value></item-id></result>

2022-09-15 22:41:42 | [Mutex] received everything.

2022-09-15 22:41:42 | [Mutex] isItemNotified: retracted:item:notifieditem-8d219336-fe0c-4e68-a061-d0ca1fe8eea2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.202s
2022-09-15 22:41:41 |

2022-09-15 22:41:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:41 | ------------------------------------

2022-09-15 22:41:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</node><item-id>item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</item-id></data>

2022-09-15 22:41:42 | 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-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</value></node><item-id type="text-single" label="Item ID"><value>item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</value></item-id><item type="text-multi" label="Item"><value><item id="item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2"><test>item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2</test></item></value></item></result>

2022-09-15 22:41:42 | [Mutex] notify: [retrieved:item:item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2:payload-matches:true:localhost]

2022-09-15 22:41:42 | [Mutex] received everything.

2022-09-15 22:41:42 | [Mutex] isItemNotified: retrieved:item:item-8d219336-fe0c-4e68-a061-d0ca1fe8eea2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-09-15 22:41:42 |

2022-09-15 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:42 | ------------------------------------

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

2022-09-15 22:41:42 | 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-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</value><value>node-ec665d19-6fbc-4537-b2a6-2f79f4c1e75e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-09-15 22:41:42 |

2022-09-15 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:42 | ------------------------------------

2022-09-15 22:41:42 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8)</node-pattern></data>

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

subscribeNodes 1.116s
2022-09-15 22:41:40 |

2022-09-15 22:41:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:40 | ------------------------------------

2022-09-15 22:41:40 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</node><jids><value>admin@test-domain.com</value></jids></data>

2022-09-15 22:41:40 | 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
2022-09-15 22:41:42 |

2022-09-15 22:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-09-15 22:41:42 | ------------------------------------

2022-09-15 22:41:42 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-d8cfe5f3-f1be-46ec-8c11-b4e1b1f5f0f8</node><jids><value>admin@test-domain.com</value></jids></data>

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