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

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-12-26 04:11:11 |

2022-12-26 04:11:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:11 | ------------------------------------

2022-12-26 04:11:11 | [Mutex] waiting for: [configured:node:node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8:node-5508ad78-45b4-4060-b6b2-5726aab5320f]

2022-12-26 04:11:12 | [Mutex] received everything.

2022-12-26 04:11:12 | [Mutex] isItemNotified: configured:node:node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8:node-5508ad78-45b4-4060-b6b2-5726aab5320f :: true

2022-12-26 04:11:13 | [Mutex] waiting for: [received:nodes:24b6a183-5014-42a2-842b-e47b63566bb5:localhost]

2022-12-26 04:11:13 | [Mutex] received everything.

2022-12-26 04:11:13 | [Mutex] isItemNotified: received:node:24b6a183-5014-42a2-842b-e47b63566bb5:localhost:node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8:Node 5ddd97ff-8d4c-40d4-bea2-d0c845696da8 :: true

2022-12-26 04:11:13 | [Mutex] waiting for: [received:nodes:76d1008c-f54a-44b5-916e-7af6281a1297:localhost]

2022-12-26 04:11:13 | [Mutex] waiting for: [received:nodes:76d1008c-f54a-44b5-916e-7af6281a1297:localhost]

2022-12-26 04:11:13 | [Mutex] waiting for: [received:nodes:76d1008c-f54a-44b5-916e-7af6281a1297:localhost]

2022-12-26 04:11:13 | [Mutex] waiting for: [received:nodes:76d1008c-f54a-44b5-916e-7af6281a1297:localhost]

2022-12-26 04:11:13 | [Mutex] received everything.

2022-12-26 04:11:13 | [Mutex] isItemNotified: received:node:76d1008c-f54a-44b5-916e-7af6281a1297:localhost:node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8:Node 5ddd97ff-8d4c-40d4-bea2-d0c845696da8 :: false

createNodes 1.323s
2022-12-26 04:11:09 |

2022-12-26 04:11:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:09 | ------------------------------------

2022-12-26 04:11:09 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5ddd97ff-8d4c-40d4-bea2-d0c845696da8</title></pubsub></data>

2022-12-26 04:11:09 | 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 04:11:10 | [Mutex] waiting for: [received:nodes:c827c8a7-259a-48cd-bdc8-03022817fbfe:localhost]

2022-12-26 04:11:10 | [Mutex] waiting for: [received:nodes:c827c8a7-259a-48cd-bdc8-03022817fbfe:localhost]

2022-12-26 04:11:10 | [Mutex] received everything.

2022-12-26 04:11:10 | [Mutex] isItemNotified: received:node:c827c8a7-259a-48cd-bdc8-03022817fbfe:localhost:node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8:Node 5ddd97ff-8d4c-40d4-bea2-d0c845696da8 :: true

createSubnodes 1.047s
2022-12-26 04:11:10 |

2022-12-26 04:11:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:10 | ------------------------------------

2022-12-26 04:11:10 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5508ad78-45b4-4060-b6b2-5726aab5320f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5508ad78-45b4-4060-b6b2-5726aab5320f</title></pubsub></data>

2022-12-26 04:11:10 | 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 04:11:11 | [Mutex] waiting for: [received:nodes:96a8c6e1-213a-44c5-8bdf-f4a38c471936:localhost]

2022-12-26 04:11:11 | [Mutex] waiting for: [received:nodes:96a8c6e1-213a-44c5-8bdf-f4a38c471936:localhost]

2022-12-26 04:11:11 | [Mutex] received everything.

2022-12-26 04:11:11 | [Mutex] isItemNotified: received:node:96a8c6e1-213a-44c5-8bdf-f4a38c471936:localhost:node-5508ad78-45b4-4060-b6b2-5726aab5320f:Node 5508ad78-45b4-4060-b6b2-5726aab5320f :: true

deleteNodes 1.016s
2022-12-26 04:11:17 |

2022-12-26 04:11:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:17 | ------------------------------------

2022-12-26 04:11:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5508ad78-45b4-4060-b6b2-5726aab5320f</node></data>

2022-12-26 04:11:17 | 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 04:11:18 | [Mutex] waiting for: [received:nodes:c58b3767-8b58-4de6-a815-19dfb6b61128:localhost]

2022-12-26 04:11:18 | [Mutex] waiting for: [received:nodes:c58b3767-8b58-4de6-a815-19dfb6b61128:localhost]

2022-12-26 04:11:18 | [Mutex] waiting for: [received:nodes:c58b3767-8b58-4de6-a815-19dfb6b61128:localhost]

2022-12-26 04:11:18 | [Mutex] received everything.

2022-12-26 04:11:18 | [Mutex] isItemNotified: received:node:c58b3767-8b58-4de6-a815-19dfb6b61128:localhost:node-5508ad78-45b4-4060-b6b2-5726aab5320f:Node 5508ad78-45b4-4060-b6b2-5726aab5320f :: false

deleteSubnodes 1.157s
2022-12-26 04:11:16 |

2022-12-26 04:11:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:16 | ------------------------------------

2022-12-26 04:11:16 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</node></data>

2022-12-26 04:11:16 | 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 04:11:17 | [Mutex] waiting for: [received:nodes:aa14aa7c-bb6b-4133-ab2c-db29865278af:localhost]

2022-12-26 04:11:17 | [Mutex] waiting for: [received:nodes:aa14aa7c-bb6b-4133-ab2c-db29865278af:localhost]

2022-12-26 04:11:17 | [Mutex] waiting for: [received:nodes:aa14aa7c-bb6b-4133-ab2c-db29865278af:localhost]

2022-12-26 04:11:17 | [Mutex] received everything.

2022-12-26 04:11:17 | [Mutex] isItemNotified: received:node:aa14aa7c-bb6b-4133-ab2c-db29865278af:localhost:node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8:Node 5ddd97ff-8d4c-40d4-bea2-d0c845696da8 :: false

2022-12-26 04:11:17 | [Mutex] waiting for: [received:nodes:bc0a4ab4-8a69-4734-8176-8656b5f4e985:localhost]

2022-12-26 04:11:17 | [Mutex] received everything.

2022-12-26 04:11:17 | [Mutex] isItemNotified: received:node:bc0a4ab4-8a69-4734-8176-8656b5f4e985:localhost:node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8:Node 5ddd97ff-8d4c-40d4-bea2-d0c845696da8 :: false

publishItemsToNodes 0.224s
2022-12-26 04:11:14 |

2022-12-26 04:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:14 | ------------------------------------

2022-12-26 04:11:14 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</node><item-id>item-b1cc4892-68f0-4da4-b927-33b9c40424db</item-id><entry><test>item-b1cc4892-68f0-4da4-b927-33b9c40424db</test></entry></data>

2022-12-26 04:11:14 | 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-b1cc4892-68f0-4da4-b927-33b9c40424db</value></item-id></result>

2022-12-26 04:11:14 | [Mutex] waiting for: [published:item:notifieditem-b1cc4892-68f0-4da4-b927-33b9c40424db:admin@test-domain.com]

2022-12-26 04:11:14 | [Mutex] received everything.

2022-12-26 04:11:14 | [Mutex] isItemNotified: published:item:notifieditem-b1cc4892-68f0-4da4-b927-33b9c40424db:admin@test-domain.com :: true

retractItemsFromNodes 0.238s
2022-12-26 04:11:14 |

2022-12-26 04:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:14 | ------------------------------------

2022-12-26 04:11:14 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</node><item-id>item-b1cc4892-68f0-4da4-b927-33b9c40424db</item-id></data>

2022-12-26 04:11:14 | 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-b1cc4892-68f0-4da4-b927-33b9c40424db</value></item-id></result>

2022-12-26 04:11:14 | [Mutex] received everything.

2022-12-26 04:11:14 | [Mutex] isItemNotified: retracted:item:notifieditem-b1cc4892-68f0-4da4-b927-33b9c40424db:admin@test-domain.com :: true

retrieveItemsFromNodes 0.193s
2022-12-26 04:11:14 |

2022-12-26 04:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:14 | ------------------------------------

2022-12-26 04:11:14 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</node><item-id>item-b1cc4892-68f0-4da4-b927-33b9c40424db</item-id></data>

2022-12-26 04:11:14 | 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-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</value></node><item-id type="text-single" label="Item ID"><value>item-b1cc4892-68f0-4da4-b927-33b9c40424db</value></item-id><item type="text-multi" label="Item"><value><item id="item-b1cc4892-68f0-4da4-b927-33b9c40424db"><test>item-b1cc4892-68f0-4da4-b927-33b9c40424db</test></item></value></item></result>

2022-12-26 04:11:14 | [Mutex] notify: [retrieved:item:item-b1cc4892-68f0-4da4-b927-33b9c40424db:payload-matches:true:localhost]

2022-12-26 04:11:14 | [Mutex] received everything.

2022-12-26 04:11:14 | [Mutex] isItemNotified: retrieved:item:item-b1cc4892-68f0-4da4-b927-33b9c40424db:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.050s
2022-12-26 04:11:14 |

2022-12-26 04:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:14 | ------------------------------------

2022-12-26 04:11:14 | 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 04:11:14 | 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-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</value><value>node-5508ad78-45b4-4060-b6b2-5726aab5320f</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-12-26 04:11:14 |

2022-12-26 04:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:14 | ------------------------------------

2022-12-26 04:11:14 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8)</node-pattern></data>

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

subscribeNodes 1.115s
2022-12-26 04:11:13 |

2022-12-26 04:11:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:13 | ------------------------------------

2022-12-26 04:11:13 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.212s
2022-12-26 04:11:14 |

2022-12-26 04:11:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-12-26 04:11:14 | ------------------------------------

2022-12-26 04:11:14 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5ddd97ff-8d4c-40d4-bea2-d0c845696da8</node><jids><value>admin@test-domain.com</value></jids></data>

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