Generated by TestNG with ReportNG at 23:02 PDT on Thursday 19 May 2022
root@61c39d2ed70d / Java 17.0.2 (Private Build) / 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.447s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.034s
2022-05-19 23:23:40 |

2022-05-19 23:23:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:40 | ------------------------------------

2022-05-19 23:23:40 | [Mutex] waiting for: [configured:node:node-49222be4-b97d-42b8-a3fb-fec00d420337:node-563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8]

2022-05-19 23:23:40 | [Mutex] received everything.

2022-05-19 23:23:40 | [Mutex] isItemNotified: configured:node:node-49222be4-b97d-42b8-a3fb-fec00d420337:node-563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8 :: true

2022-05-19 23:23:41 | [Mutex] waiting for: [received:nodes:c020c1ed-b732-4a05-b4fe-dd6059d273e1:localhost]

2022-05-19 23:23:41 | [Mutex] received everything.

2022-05-19 23:23:41 | [Mutex] isItemNotified: received:node:c020c1ed-b732-4a05-b4fe-dd6059d273e1:localhost:node-49222be4-b97d-42b8-a3fb-fec00d420337:Node 49222be4-b97d-42b8-a3fb-fec00d420337 :: true

2022-05-19 23:23:41 | [Mutex] waiting for: [received:nodes:ef7a4277-72bd-4d71-b54e-64b3a4ed741f:localhost]

2022-05-19 23:23:41 | [Mutex] waiting for: [received:nodes:ef7a4277-72bd-4d71-b54e-64b3a4ed741f:localhost]

2022-05-19 23:23:41 | [Mutex] received everything.

2022-05-19 23:23:41 | [Mutex] isItemNotified: received:node:ef7a4277-72bd-4d71-b54e-64b3a4ed741f:localhost:node-49222be4-b97d-42b8-a3fb-fec00d420337:Node 49222be4-b97d-42b8-a3fb-fec00d420337 :: false

createNodes 1.383s
2022-05-19 23:23:37 |

2022-05-19 23:23:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:37 | ------------------------------------

2022-05-19 23:23:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-49222be4-b97d-42b8-a3fb-fec00d420337</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 49222be4-b97d-42b8-a3fb-fec00d420337</title></pubsub></data>

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

2022-05-19 23:23:39 | [Mutex] waiting for: [received:nodes:8ed66b51-a00e-4342-be32-676e90449db1:localhost]

2022-05-19 23:23:39 | [Mutex] received everything.

2022-05-19 23:23:39 | [Mutex] isItemNotified: received:node:8ed66b51-a00e-4342-be32-676e90449db1:localhost:node-49222be4-b97d-42b8-a3fb-fec00d420337:Node 49222be4-b97d-42b8-a3fb-fec00d420337 :: true

createSubnodes 1.021s
2022-05-19 23:23:39 |

2022-05-19 23:23:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:39 | ------------------------------------

2022-05-19 23:23:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8</title></pubsub></data>

2022-05-19 23:23:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-19 23:23:40 | [Mutex] waiting for: [received:nodes:22b4ca78-0bac-42f3-a49b-d6cdbd4162fe:localhost]

2022-05-19 23:23:40 | [Mutex] waiting for: [received:nodes:22b4ca78-0bac-42f3-a49b-d6cdbd4162fe:localhost]

2022-05-19 23:23:40 | [Mutex] waiting for: [received:nodes:22b4ca78-0bac-42f3-a49b-d6cdbd4162fe:localhost]

2022-05-19 23:23:40 | [Mutex] received everything.

2022-05-19 23:23:40 | [Mutex] isItemNotified: received:node:22b4ca78-0bac-42f3-a49b-d6cdbd4162fe:localhost:node-563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8:Node 563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8 :: true

deleteNodes 1.018s
2022-05-19 23:23:45 |

2022-05-19 23:23:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:45 | ------------------------------------

2022-05-19 23:23:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8</node></data>

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

2022-05-19 23:23:46 | [Mutex] waiting for: [received:nodes:9f0ef558-604c-4fe0-8c3f-13da2436aa00:localhost]

2022-05-19 23:23:46 | [Mutex] waiting for: [received:nodes:9f0ef558-604c-4fe0-8c3f-13da2436aa00:localhost]

2022-05-19 23:23:46 | [Mutex] received everything.

2022-05-19 23:23:46 | [Mutex] isItemNotified: received:node:9f0ef558-604c-4fe0-8c3f-13da2436aa00:localhost:node-563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8:Node 563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8 :: false

deleteSubnodes 1.160s
2022-05-19 23:23:44 |

2022-05-19 23:23:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:44 | ------------------------------------

2022-05-19 23:23:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-49222be4-b97d-42b8-a3fb-fec00d420337</node></data>

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

2022-05-19 23:23:45 | [Mutex] waiting for: [received:nodes:7c27d624-232c-4964-ac02-7147385bc2cf:localhost]

2022-05-19 23:23:45 | [Mutex] received everything.

2022-05-19 23:23:45 | [Mutex] isItemNotified: received:node:7c27d624-232c-4964-ac02-7147385bc2cf:localhost:node-49222be4-b97d-42b8-a3fb-fec00d420337:Node 49222be4-b97d-42b8-a3fb-fec00d420337 :: false

2022-05-19 23:23:45 | [Mutex] waiting for: [received:nodes:fb66e1ff-1628-4c75-857b-49ad44372dc5:localhost]

2022-05-19 23:23:45 | [Mutex] received everything.

2022-05-19 23:23:45 | [Mutex] isItemNotified: received:node:fb66e1ff-1628-4c75-857b-49ad44372dc5:localhost:node-49222be4-b97d-42b8-a3fb-fec00d420337:Node 49222be4-b97d-42b8-a3fb-fec00d420337 :: false

publishItemsToNodes 0.226s
2022-05-19 23:23:42 |

2022-05-19 23:23:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:42 | ------------------------------------

2022-05-19 23:23:42 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-49222be4-b97d-42b8-a3fb-fec00d420337</node><item-id>item-b3e26688-4634-4fed-a1ca-3afb32f6fbca</item-id><entry><test>item-b3e26688-4634-4fed-a1ca-3afb32f6fbca</test></entry></data>

2022-05-19 23:23:42 | 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-b3e26688-4634-4fed-a1ca-3afb32f6fbca</value></item-id></result>

2022-05-19 23:23:42 | [Mutex] received everything.

2022-05-19 23:23:42 | [Mutex] isItemNotified: published:item:notifieditem-b3e26688-4634-4fed-a1ca-3afb32f6fbca:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2022-05-19 23:23:43 |

2022-05-19 23:23:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:43 | ------------------------------------

2022-05-19 23:23:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-49222be4-b97d-42b8-a3fb-fec00d420337</node><item-id>item-b3e26688-4634-4fed-a1ca-3afb32f6fbca</item-id></data>

2022-05-19 23:23:43 | 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-b3e26688-4634-4fed-a1ca-3afb32f6fbca</value></item-id></result>

2022-05-19 23:23:43 | [Mutex] received everything.

2022-05-19 23:23:43 | [Mutex] isItemNotified: retracted:item:notifieditem-b3e26688-4634-4fed-a1ca-3afb32f6fbca:admin@test-domain.com :: true

retrieveItemsFromNodes 0.271s
2022-05-19 23:23:42 |

2022-05-19 23:23:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:42 | ------------------------------------

2022-05-19 23:23:42 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-49222be4-b97d-42b8-a3fb-fec00d420337</node><item-id>item-b3e26688-4634-4fed-a1ca-3afb32f6fbca</item-id></data>

2022-05-19 23:23:43 | 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-49222be4-b97d-42b8-a3fb-fec00d420337</value></node><item-id label="Item ID" type="text-single"><value>item-b3e26688-4634-4fed-a1ca-3afb32f6fbca</value></item-id><item label="Item" type="text-multi"><value><item id="item-b3e26688-4634-4fed-a1ca-3afb32f6fbca"><test>item-b3e26688-4634-4fed-a1ca-3afb32f6fbca</test></item></value></item></result>

2022-05-19 23:23:43 | [Mutex] notify: [retrieved:item:item-b3e26688-4634-4fed-a1ca-3afb32f6fbca:payload-matches:true:localhost]

2022-05-19 23:23:43 | [Mutex] received everything.

2022-05-19 23:23:43 | [Mutex] isItemNotified: retrieved:item:item-b3e26688-4634-4fed-a1ca-3afb32f6fbca:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-19 23:23:43 |

2022-05-19 23:23:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:43 | ------------------------------------

2022-05-19 23:23:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-19 23:23:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-49222be4-b97d-42b8-a3fb-fec00d420337</value><value>node-563bcb0d-e9b7-4cf6-9a53-12286fbc1ac8</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-05-19 23:23:43 |

2022-05-19 23:23:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:43 | ------------------------------------

2022-05-19 23:23:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-49222be4-b97d-42b8-a3fb-fec00d420337)</node-pattern></data>

2022-05-19 23:23:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.147s
2022-05-19 23:23:41 |

2022-05-19 23:23:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:41 | ------------------------------------

2022-05-19 23:23:41 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-49222be4-b97d-42b8-a3fb-fec00d420337</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-19 23:23:41 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.247s
2022-05-19 23:23:43 |

2022-05-19 23:23:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 23:23:43 | ------------------------------------

2022-05-19 23:23:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-49222be4-b97d-42b8-a3fb-fec00d420337</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-19 23:23:43 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>