Generated by TestNG with ReportNG at 15:18 PST on Friday 24 February 2023
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.309s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.098s
2023-02-24 15:32:02 |

2023-02-24 15:32:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:02 | ------------------------------------

2023-02-24 15:32:02 | [Mutex] waiting for: [configured:node:node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d:node-eb6285be-be10-4255-9d9f-fc0c321a1187]

2023-02-24 15:32:02 | [Mutex] received everything.

2023-02-24 15:32:02 | [Mutex] isItemNotified: configured:node:node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d:node-eb6285be-be10-4255-9d9f-fc0c321a1187 :: true

2023-02-24 15:32:03 | [Mutex] waiting for: [received:nodes:acbb8bf4-2967-4665-9086-70076cdf13d7:localhost]

2023-02-24 15:32:03 | [Mutex] received everything.

2023-02-24 15:32:03 | [Mutex] isItemNotified: received:node:acbb8bf4-2967-4665-9086-70076cdf13d7:localhost:node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d:Node bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d :: true

2023-02-24 15:32:03 | [Mutex] waiting for: [received:nodes:e256e0b6-f2de-426c-a1e0-22707af49def:localhost]

2023-02-24 15:32:03 | [Mutex] waiting for: [received:nodes:e256e0b6-f2de-426c-a1e0-22707af49def:localhost]

2023-02-24 15:32:03 | [Mutex] received everything.

2023-02-24 15:32:03 | [Mutex] isItemNotified: received:node:e256e0b6-f2de-426c-a1e0-22707af49def:localhost:node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d:Node bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d :: false

createNodes 1.376s
2023-02-24 15:32:00 |

2023-02-24 15:32:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:00 | ------------------------------------

2023-02-24 15:32:00 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</title></pubsub></data>

2023-02-24 15:32:00 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:01 | [Mutex] waiting for: [received:nodes:13772f4a-51c3-433b-80a2-6f6fc4ea2a2f:localhost]

2023-02-24 15:32:01 | [Mutex] received everything.

2023-02-24 15:32:01 | [Mutex] isItemNotified: received:node:13772f4a-51c3-433b-80a2-6f6fc4ea2a2f:localhost:node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d:Node bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d :: true

createSubnodes 1.021s
2023-02-24 15:32:01 |

2023-02-24 15:32:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:01 | ------------------------------------

2023-02-24 15:32:01 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-eb6285be-be10-4255-9d9f-fc0c321a1187</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node eb6285be-be10-4255-9d9f-fc0c321a1187</title></pubsub></data>

2023-02-24 15:32:01 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:02 | [Mutex] waiting for: [received:nodes:0e1fd72b-2bf6-4fd7-87bf-186559ce5841:localhost]

2023-02-24 15:32:02 | [Mutex] waiting for: [received:nodes:0e1fd72b-2bf6-4fd7-87bf-186559ce5841:localhost]

2023-02-24 15:32:02 | [Mutex] waiting for: [received:nodes:0e1fd72b-2bf6-4fd7-87bf-186559ce5841:localhost]

2023-02-24 15:32:02 | [Mutex] waiting for: [received:nodes:0e1fd72b-2bf6-4fd7-87bf-186559ce5841:localhost]

2023-02-24 15:32:02 | [Mutex] waiting for: [received:nodes:0e1fd72b-2bf6-4fd7-87bf-186559ce5841:localhost]

2023-02-24 15:32:02 | [Mutex] received everything.

2023-02-24 15:32:02 | [Mutex] isItemNotified: received:node:0e1fd72b-2bf6-4fd7-87bf-186559ce5841:localhost:node-eb6285be-be10-4255-9d9f-fc0c321a1187:Node eb6285be-be10-4255-9d9f-fc0c321a1187 :: true

deleteNodes 1.024s
2023-02-24 15:32:07 |

2023-02-24 15:32:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:07 | ------------------------------------

2023-02-24 15:32:07 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-eb6285be-be10-4255-9d9f-fc0c321a1187</node></data>

2023-02-24 15:32:07 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:08 | [Mutex] waiting for: [received:nodes:adaea660-b325-4de4-8868-fb65e297af1f:localhost]

2023-02-24 15:32:08 | [Mutex] received everything.

2023-02-24 15:32:08 | [Mutex] isItemNotified: received:node:adaea660-b325-4de4-8868-fb65e297af1f:localhost:node-eb6285be-be10-4255-9d9f-fc0c321a1187:Node eb6285be-be10-4255-9d9f-fc0c321a1187 :: false

deleteSubnodes 1.104s
2023-02-24 15:32:06 |

2023-02-24 15:32:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:06 | ------------------------------------

2023-02-24 15:32:06 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</node></data>

2023-02-24 15:32:06 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-02-24 15:32:07 | [Mutex] waiting for: [received:nodes:4b21da11-709d-431d-b5f3-2fff23ea4a14:localhost]

2023-02-24 15:32:07 | [Mutex] waiting for: [received:nodes:4b21da11-709d-431d-b5f3-2fff23ea4a14:localhost]

2023-02-24 15:32:07 | [Mutex] waiting for: [received:nodes:4b21da11-709d-431d-b5f3-2fff23ea4a14:localhost]

2023-02-24 15:32:07 | [Mutex] waiting for: [received:nodes:4b21da11-709d-431d-b5f3-2fff23ea4a14:localhost]

2023-02-24 15:32:07 | [Mutex] received everything.

2023-02-24 15:32:07 | [Mutex] isItemNotified: received:node:4b21da11-709d-431d-b5f3-2fff23ea4a14:localhost:node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d:Node bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d :: false

2023-02-24 15:32:07 | [Mutex] waiting for: [received:nodes:15d4a860-82f3-4350-927b-e7abcbe0ee2d:localhost]

2023-02-24 15:32:07 | [Mutex] received everything.

2023-02-24 15:32:07 | [Mutex] isItemNotified: received:node:15d4a860-82f3-4350-927b-e7abcbe0ee2d:localhost:node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d:Node bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d :: false

publishItemsToNodes 0.242s
2023-02-24 15:32:04 |

2023-02-24 15:32:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:04 | ------------------------------------

2023-02-24 15:32:04 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</node><item-id>item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</item-id><entry><test>item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</test></entry></data>

2023-02-24 15:32:05 | 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-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</value></item-id></result>

2023-02-24 15:32:05 | [Mutex] waiting for: [published:item:notifieditem-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558:admin@test-domain.com]

2023-02-24 15:32:05 | [Mutex] received everything.

2023-02-24 15:32:05 | [Mutex] isItemNotified: published:item:notifieditem-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558:admin@test-domain.com :: true

retractItemsFromNodes 0.303s
2023-02-24 15:32:05 |

2023-02-24 15:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:05 | ------------------------------------

2023-02-24 15:32:05 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</node><item-id>item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</item-id></data>

2023-02-24 15:32:05 | 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-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</value></item-id></result>

2023-02-24 15:32:05 | [Mutex] received everything.

2023-02-24 15:32:05 | [Mutex] isItemNotified: retracted:item:notifieditem-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558:admin@test-domain.com :: true

retrieveItemsFromNodes 0.197s
2023-02-24 15:32:05 |

2023-02-24 15:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:05 | ------------------------------------

2023-02-24 15:32:05 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</node><item-id>item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</item-id></data>

2023-02-24 15:32:05 | 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-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</value></node><item-id label="Item ID" type="text-single"><value>item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</value></item-id><item label="Item" type="text-multi"><value><item id="item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558"><test>item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558</test></item></value></item></result>

2023-02-24 15:32:05 | [Mutex] notify: [retrieved:item:item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558:payload-matches:true:localhost]

2023-02-24 15:32:05 | [Mutex] received everything.

2023-02-24 15:32:05 | [Mutex] isItemNotified: retrieved:item:item-fc72b45b-f73b-4d0b-895e-9fbdc9e0b558:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2023-02-24 15:32:05 |

2023-02-24 15:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:05 | ------------------------------------

2023-02-24 15:32:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-02-24 15:32:05 | 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-eb6285be-be10-4255-9d9f-fc0c321a1187</value><value>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-02-24 15:32:05 |

2023-02-24 15:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:05 | ------------------------------------

2023-02-24 15:32:05 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d)</node-pattern></data>

2023-02-24 15:32:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.118s
2023-02-24 15:32:03 |

2023-02-24 15:32:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:03 | ------------------------------------

2023-02-24 15:32:03 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-24 15:32:03 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.163s
2023-02-24 15:32:05 |

2023-02-24 15:32:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-02-24 15:32:05 | ------------------------------------

2023-02-24 15:32:05 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-bc9e1ba9-e5ff-4fa1-b6e8-24190451e28d</node><jids><value>admin@test-domain.com</value></jids></data>

2023-02-24 15:32:05 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>