Generated by TestNG with ReportNG at 22:46 PDT on Monday 15 August 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.610s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.087s
2022-08-15 23:00:13 |

2022-08-15 23:00:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:13 | ------------------------------------

2022-08-15 23:00:13 | [Mutex] waiting for: [configured:node:node-20f39582-c998-43ed-a8a1-898a3a234b1a:node-4ef0c148-ac59-4229-acba-5731d6056104]

2022-08-15 23:00:13 | [Mutex] received everything.

2022-08-15 23:00:13 | [Mutex] isItemNotified: configured:node:node-20f39582-c998-43ed-a8a1-898a3a234b1a:node-4ef0c148-ac59-4229-acba-5731d6056104 :: true

2022-08-15 23:00:14 | [Mutex] waiting for: [received:nodes:4b1b95e7-7b48-4cce-a0c3-1ecaa8c86fc0:localhost]

2022-08-15 23:00:14 | [Mutex] waiting for: [received:nodes:4b1b95e7-7b48-4cce-a0c3-1ecaa8c86fc0:localhost]

2022-08-15 23:00:14 | [Mutex] received everything.

2022-08-15 23:00:14 | [Mutex] isItemNotified: received:node:4b1b95e7-7b48-4cce-a0c3-1ecaa8c86fc0:localhost:node-20f39582-c998-43ed-a8a1-898a3a234b1a:Node 20f39582-c998-43ed-a8a1-898a3a234b1a :: true

2022-08-15 23:00:14 | [Mutex] waiting for: [received:nodes:215e78ed-9ef9-4a87-b17b-61af6faf310d:localhost]

2022-08-15 23:00:14 | [Mutex] waiting for: [received:nodes:215e78ed-9ef9-4a87-b17b-61af6faf310d:localhost]

2022-08-15 23:00:14 | [Mutex] waiting for: [received:nodes:215e78ed-9ef9-4a87-b17b-61af6faf310d:localhost]

2022-08-15 23:00:14 | [Mutex] received everything.

2022-08-15 23:00:14 | [Mutex] isItemNotified: received:node:215e78ed-9ef9-4a87-b17b-61af6faf310d:localhost:node-20f39582-c998-43ed-a8a1-898a3a234b1a:Node 20f39582-c998-43ed-a8a1-898a3a234b1a :: false

createNodes 1.609s
2022-08-15 23:00:11 |

2022-08-15 23:00:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:11 | ------------------------------------

2022-08-15 23:00:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-20f39582-c998-43ed-a8a1-898a3a234b1a</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 20f39582-c998-43ed-a8a1-898a3a234b1a</title></pubsub></data>

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

2022-08-15 23:00:12 | [Mutex] waiting for: [received:nodes:6dcf5585-1abc-4b54-9d3a-9791dbf784e2:localhost]

2022-08-15 23:00:12 | [Mutex] received everything.

2022-08-15 23:00:12 | [Mutex] isItemNotified: received:node:6dcf5585-1abc-4b54-9d3a-9791dbf784e2:localhost:node-20f39582-c998-43ed-a8a1-898a3a234b1a:Node 20f39582-c998-43ed-a8a1-898a3a234b1a :: true

createSubnodes 1.037s
2022-08-15 23:00:12 |

2022-08-15 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:12 | ------------------------------------

2022-08-15 23:00:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4ef0c148-ac59-4229-acba-5731d6056104</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4ef0c148-ac59-4229-acba-5731d6056104</title></pubsub></data>

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

2022-08-15 23:00:13 | [Mutex] waiting for: [received:nodes:a567bfa9-3e23-4ab4-a82a-31de386eca34:localhost]

2022-08-15 23:00:13 | [Mutex] received everything.

2022-08-15 23:00:13 | [Mutex] isItemNotified: received:node:a567bfa9-3e23-4ab4-a82a-31de386eca34:localhost:node-4ef0c148-ac59-4229-acba-5731d6056104:Node 4ef0c148-ac59-4229-acba-5731d6056104 :: true

deleteNodes 1.018s
2022-08-15 23:00:19 |

2022-08-15 23:00:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:19 | ------------------------------------

2022-08-15 23:00:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4ef0c148-ac59-4229-acba-5731d6056104</node></data>

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

2022-08-15 23:00:20 | [Mutex] waiting for: [received:nodes:32f71fcb-1ed0-449a-a973-b40e484eae97:localhost]

2022-08-15 23:00:20 | [Mutex] waiting for: [received:nodes:32f71fcb-1ed0-449a-a973-b40e484eae97:localhost]

2022-08-15 23:00:20 | [Mutex] waiting for: [received:nodes:32f71fcb-1ed0-449a-a973-b40e484eae97:localhost]

2022-08-15 23:00:20 | [Mutex] received everything.

2022-08-15 23:00:20 | [Mutex] isItemNotified: received:node:32f71fcb-1ed0-449a-a973-b40e484eae97:localhost:node-4ef0c148-ac59-4229-acba-5731d6056104:Node 4ef0c148-ac59-4229-acba-5731d6056104 :: false

deleteSubnodes 1.127s
2022-08-15 23:00:17 |

2022-08-15 23:00:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:17 | ------------------------------------

2022-08-15 23:00:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-20f39582-c998-43ed-a8a1-898a3a234b1a</node></data>

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

2022-08-15 23:00:19 | [Mutex] waiting for: [received:nodes:84df1058-de6c-4222-a1b7-cf37748b2ef7:localhost]

2022-08-15 23:00:19 | [Mutex] received everything.

2022-08-15 23:00:19 | [Mutex] isItemNotified: received:node:84df1058-de6c-4222-a1b7-cf37748b2ef7:localhost:node-20f39582-c998-43ed-a8a1-898a3a234b1a:Node 20f39582-c998-43ed-a8a1-898a3a234b1a :: false

2022-08-15 23:00:19 | [Mutex] waiting for: [received:nodes:3ee2629f-170a-4a48-b828-798ebb819dc7:localhost]

2022-08-15 23:00:19 | [Mutex] received everything.

2022-08-15 23:00:19 | [Mutex] isItemNotified: received:node:3ee2629f-170a-4a48-b828-798ebb819dc7:localhost:node-20f39582-c998-43ed-a8a1-898a3a234b1a:Node 20f39582-c998-43ed-a8a1-898a3a234b1a :: false

publishItemsToNodes 0.177s
2022-08-15 23:00:15 |

2022-08-15 23:00:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:15 | ------------------------------------

2022-08-15 23:00:15 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-20f39582-c998-43ed-a8a1-898a3a234b1a</node><item-id>item-eeb17d50-2d49-4122-937c-1f38317c7237</item-id><entry><test>item-eeb17d50-2d49-4122-937c-1f38317c7237</test></entry></data>

2022-08-15 23:00:16 | 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-eeb17d50-2d49-4122-937c-1f38317c7237</value></item-id></result>

2022-08-15 23:00:16 | [Mutex] received everything.

2022-08-15 23:00:16 | [Mutex] isItemNotified: published:item:notifieditem-eeb17d50-2d49-4122-937c-1f38317c7237:admin@test-domain.com :: true

retractItemsFromNodes 0.300s
2022-08-15 23:00:16 |

2022-08-15 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:16 | ------------------------------------

2022-08-15 23:00:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-20f39582-c998-43ed-a8a1-898a3a234b1a</node><item-id>item-eeb17d50-2d49-4122-937c-1f38317c7237</item-id></data>

2022-08-15 23:00:16 | 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-eeb17d50-2d49-4122-937c-1f38317c7237</value></item-id></result>

2022-08-15 23:00:16 | [Mutex] waiting for: [retracted:item:notifieditem-eeb17d50-2d49-4122-937c-1f38317c7237:admin@test-domain.com]

2022-08-15 23:00:16 | [Mutex] received everything.

2022-08-15 23:00:16 | [Mutex] isItemNotified: retracted:item:notifieditem-eeb17d50-2d49-4122-937c-1f38317c7237:admin@test-domain.com :: true

retrieveItemsFromNodes 0.223s
2022-08-15 23:00:16 |

2022-08-15 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:16 | ------------------------------------

2022-08-15 23:00:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-20f39582-c998-43ed-a8a1-898a3a234b1a</node><item-id>item-eeb17d50-2d49-4122-937c-1f38317c7237</item-id></data>

2022-08-15 23:00:16 | 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-20f39582-c998-43ed-a8a1-898a3a234b1a</value></node><item-id type="text-single" label="Item ID"><value>item-eeb17d50-2d49-4122-937c-1f38317c7237</value></item-id><item type="text-multi" label="Item"><value><item id="item-eeb17d50-2d49-4122-937c-1f38317c7237"><test>item-eeb17d50-2d49-4122-937c-1f38317c7237</test></item></value></item></result>

2022-08-15 23:00:16 | [Mutex] notify: [retrieved:item:item-eeb17d50-2d49-4122-937c-1f38317c7237:payload-matches:true:localhost]

2022-08-15 23:00:16 | [Mutex] received everything.

2022-08-15 23:00:16 | [Mutex] isItemNotified: retrieved:item:item-eeb17d50-2d49-4122-937c-1f38317c7237:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-08-15 23:00:16 |

2022-08-15 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:16 | ------------------------------------

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

2022-08-15 23:00:16 | 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-4ef0c148-ac59-4229-acba-5731d6056104</value><value>node-20f39582-c998-43ed-a8a1-898a3a234b1a</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-08-15 23:00:16 |

2022-08-15 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:16 | ------------------------------------

2022-08-15 23:00:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-20f39582-c998-43ed-a8a1-898a3a234b1a)</node-pattern></data>

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

subscribeNodes 1.104s
2022-08-15 23:00:14 |

2022-08-15 23:00:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:14 | ------------------------------------

2022-08-15 23:00:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-20f39582-c998-43ed-a8a1-898a3a234b1a</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.213s
2022-08-15 23:00:16 |

2022-08-15 23:00:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-08-15 23:00:16 | ------------------------------------

2022-08-15 23:00:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-20f39582-c998-43ed-a8a1-898a3a234b1a</node><jids><value>admin@test-domain.com</value></jids></data>

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