Generated by TestNG with ReportNG at 03:24 PST on Monday 26 December 2022
root@7c41cec37518 / 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.751s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2022-12-26 03:39:32 |

2022-12-26 03:39:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:32 | ------------------------------------

2022-12-26 03:39:32 | [Mutex] waiting for: [configured:node:node-ee7400db-206a-4b90-953f-03f17388d305:node-b043a012-c90b-4879-a8a6-9b4740e78d6a]

2022-12-26 03:39:32 | [Mutex] received everything.

2022-12-26 03:39:32 | [Mutex] isItemNotified: configured:node:node-ee7400db-206a-4b90-953f-03f17388d305:node-b043a012-c90b-4879-a8a6-9b4740e78d6a :: true

2022-12-26 03:39:33 | [Mutex] waiting for: [received:nodes:b883f99d-97fd-4836-887b-a209d6c61cb6:localhost]

2022-12-26 03:39:33 | [Mutex] received everything.

2022-12-26 03:39:33 | [Mutex] isItemNotified: received:node:b883f99d-97fd-4836-887b-a209d6c61cb6:localhost:node-ee7400db-206a-4b90-953f-03f17388d305:Node ee7400db-206a-4b90-953f-03f17388d305 :: true

2022-12-26 03:39:33 | [Mutex] waiting for: [received:nodes:190100e6-3d92-4d44-a561-cb4cc36c6faf:localhost]

2022-12-26 03:39:33 | [Mutex] waiting for: [received:nodes:190100e6-3d92-4d44-a561-cb4cc36c6faf:localhost]

2022-12-26 03:39:33 | [Mutex] waiting for: [received:nodes:190100e6-3d92-4d44-a561-cb4cc36c6faf:localhost]

2022-12-26 03:39:33 | [Mutex] waiting for: [received:nodes:190100e6-3d92-4d44-a561-cb4cc36c6faf:localhost]

2022-12-26 03:39:33 | [Mutex] received everything.

2022-12-26 03:39:33 | [Mutex] isItemNotified: received:node:190100e6-3d92-4d44-a561-cb4cc36c6faf:localhost:node-ee7400db-206a-4b90-953f-03f17388d305:Node ee7400db-206a-4b90-953f-03f17388d305 :: false

createNodes 1.675s
2022-12-26 03:39:29 |

2022-12-26 03:39:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:29 | ------------------------------------

2022-12-26 03:39:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ee7400db-206a-4b90-953f-03f17388d305</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ee7400db-206a-4b90-953f-03f17388d305</title></pubsub></data>

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

2022-12-26 03:39:31 | [Mutex] waiting for: [received:nodes:4bdd92f6-afa7-410a-99ad-5314f13f3991:localhost]

2022-12-26 03:39:31 | [Mutex] waiting for: [received:nodes:4bdd92f6-afa7-410a-99ad-5314f13f3991:localhost]

2022-12-26 03:39:31 | [Mutex] waiting for: [received:nodes:4bdd92f6-afa7-410a-99ad-5314f13f3991:localhost]

2022-12-26 03:39:31 | [Mutex] received everything.

2022-12-26 03:39:31 | [Mutex] isItemNotified: received:node:4bdd92f6-afa7-410a-99ad-5314f13f3991:localhost:node-ee7400db-206a-4b90-953f-03f17388d305:Node ee7400db-206a-4b90-953f-03f17388d305 :: true

createSubnodes 1.039s
2022-12-26 03:39:31 |

2022-12-26 03:39:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:31 | ------------------------------------

2022-12-26 03:39:31 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-b043a012-c90b-4879-a8a6-9b4740e78d6a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node b043a012-c90b-4879-a8a6-9b4740e78d6a</title></pubsub></data>

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

2022-12-26 03:39:32 | [Mutex] waiting for: [received:nodes:7ede3862-2ff3-4eff-9127-5b13d082c441:localhost]

2022-12-26 03:39:32 | [Mutex] received everything.

2022-12-26 03:39:32 | [Mutex] isItemNotified: received:node:7ede3862-2ff3-4eff-9127-5b13d082c441:localhost:node-b043a012-c90b-4879-a8a6-9b4740e78d6a:Node b043a012-c90b-4879-a8a6-9b4740e78d6a :: true

deleteNodes 1.020s
2022-12-26 03:39:38 |

2022-12-26 03:39:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:38 | ------------------------------------

2022-12-26 03:39:38 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-b043a012-c90b-4879-a8a6-9b4740e78d6a</node></data>

2022-12-26 03:39:38 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 03:39:39 | [Mutex] waiting for: [received:nodes:0672b48c-54fa-471b-9301-e8a29796feab:localhost]

2022-12-26 03:39:39 | [Mutex] waiting for: [received:nodes:0672b48c-54fa-471b-9301-e8a29796feab:localhost]

2022-12-26 03:39:39 | [Mutex] received everything.

2022-12-26 03:39:39 | [Mutex] isItemNotified: received:node:0672b48c-54fa-471b-9301-e8a29796feab:localhost:node-b043a012-c90b-4879-a8a6-9b4740e78d6a:Node b043a012-c90b-4879-a8a6-9b4740e78d6a :: false

deleteSubnodes 1.166s
2022-12-26 03:39:36 |

2022-12-26 03:39:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:36 | ------------------------------------

2022-12-26 03:39:36 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ee7400db-206a-4b90-953f-03f17388d305</node></data>

2022-12-26 03:39:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-12-26 03:39:38 | [Mutex] waiting for: [received:nodes:036c6045-ffbc-463a-8b51-a1c57014382e:localhost]

2022-12-26 03:39:38 | [Mutex] waiting for: [received:nodes:036c6045-ffbc-463a-8b51-a1c57014382e:localhost]

2022-12-26 03:39:38 | [Mutex] waiting for: [received:nodes:036c6045-ffbc-463a-8b51-a1c57014382e:localhost]

2022-12-26 03:39:38 | [Mutex] waiting for: [received:nodes:036c6045-ffbc-463a-8b51-a1c57014382e:localhost]

2022-12-26 03:39:38 | [Mutex] received everything.

2022-12-26 03:39:38 | [Mutex] isItemNotified: received:node:036c6045-ffbc-463a-8b51-a1c57014382e:localhost:node-ee7400db-206a-4b90-953f-03f17388d305:Node ee7400db-206a-4b90-953f-03f17388d305 :: false

2022-12-26 03:39:38 | [Mutex] waiting for: [received:nodes:70f60974-3554-4d62-bd50-66c0466b861f:localhost]

2022-12-26 03:39:38 | [Mutex] received everything.

2022-12-26 03:39:38 | [Mutex] isItemNotified: received:node:70f60974-3554-4d62-bd50-66c0466b861f:localhost:node-ee7400db-206a-4b90-953f-03f17388d305:Node ee7400db-206a-4b90-953f-03f17388d305 :: false

publishItemsToNodes 0.226s
2022-12-26 03:39:34 |

2022-12-26 03:39:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:34 | ------------------------------------

2022-12-26 03:39:34 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ee7400db-206a-4b90-953f-03f17388d305</node><item-id>item-00e1620f-a9fa-479c-918d-19a14b9550e6</item-id><entry><test>item-00e1620f-a9fa-479c-918d-19a14b9550e6</test></entry></data>

2022-12-26 03:39:35 | 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-00e1620f-a9fa-479c-918d-19a14b9550e6</value></item-id></result>

2022-12-26 03:39:35 | [Mutex] received everything.

2022-12-26 03:39:35 | [Mutex] isItemNotified: published:item:notifieditem-00e1620f-a9fa-479c-918d-19a14b9550e6:admin@test-domain.com :: true

retractItemsFromNodes 0.282s
2022-12-26 03:39:35 |

2022-12-26 03:39:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:35 | ------------------------------------

2022-12-26 03:39:35 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ee7400db-206a-4b90-953f-03f17388d305</node><item-id>item-00e1620f-a9fa-479c-918d-19a14b9550e6</item-id></data>

2022-12-26 03:39:35 | 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-00e1620f-a9fa-479c-918d-19a14b9550e6</value></item-id></result>

2022-12-26 03:39:35 | [Mutex] waiting for: [retracted:item:notifieditem-00e1620f-a9fa-479c-918d-19a14b9550e6:admin@test-domain.com]

2022-12-26 03:39:35 | [Mutex] received everything.

2022-12-26 03:39:35 | [Mutex] isItemNotified: retracted:item:notifieditem-00e1620f-a9fa-479c-918d-19a14b9550e6:admin@test-domain.com :: true

retrieveItemsFromNodes 0.179s
2022-12-26 03:39:35 |

2022-12-26 03:39:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:35 | ------------------------------------

2022-12-26 03:39:35 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ee7400db-206a-4b90-953f-03f17388d305</node><item-id>item-00e1620f-a9fa-479c-918d-19a14b9550e6</item-id></data>

2022-12-26 03:39:35 | 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-ee7400db-206a-4b90-953f-03f17388d305</value></node><item-id type="text-single" label="Item ID"><value>item-00e1620f-a9fa-479c-918d-19a14b9550e6</value></item-id><item type="text-multi" label="Item"><value><item id="item-00e1620f-a9fa-479c-918d-19a14b9550e6"><test>item-00e1620f-a9fa-479c-918d-19a14b9550e6</test></item></value></item></result>

2022-12-26 03:39:35 | [Mutex] notify: [retrieved:item:item-00e1620f-a9fa-479c-918d-19a14b9550e6:payload-matches:true:localhost]

2022-12-26 03:39:35 | [Mutex] received everything.

2022-12-26 03:39:35 | [Mutex] isItemNotified: retrieved:item:item-00e1620f-a9fa-479c-918d-19a14b9550e6:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-12-26 03:39:35 |

2022-12-26 03:39:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:35 | ------------------------------------

2022-12-26 03:39:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-12-26 03:39:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-b043a012-c90b-4879-a8a6-9b4740e78d6a</value><value>node-ee7400db-206a-4b90-953f-03f17388d305</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-26 03:39:35 |

2022-12-26 03:39:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:35 | ------------------------------------

2022-12-26 03:39:35 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ee7400db-206a-4b90-953f-03f17388d305)</node-pattern></data>

2022-12-26 03:39:35 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.145s
2022-12-26 03:39:33 |

2022-12-26 03:39:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:33 | ------------------------------------

2022-12-26 03:39:33 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ee7400db-206a-4b90-953f-03f17388d305</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-26 03:39:33 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.184s
2022-12-26 03:39:35 |

2022-12-26 03:39:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 03:39:35 | ------------------------------------

2022-12-26 03:39:35 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ee7400db-206a-4b90-953f-03f17388d305</node><jids><value>admin@test-domain.com</value></jids></data>

2022-12-26 03:39:35 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>