Generated by TestNG with ReportNG at 00:15 PDT on Friday 29 September 2023
root@8dfa9d99ff97 / Java 17.0.8 (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.433s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.079s
2023-09-29 00:29:40 |

2023-09-29 00:29:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:40 | ------------------------------------

2023-09-29 00:29:40 | [Mutex] waiting for: [configured:node:node-ff5d58c2-a64c-4420-a09a-02c1d9685df2:node-a167f9a6-016c-488f-b963-f25c852a2c02]

2023-09-29 00:29:41 | [Mutex] received everything.

2023-09-29 00:29:41 | [Mutex] isItemNotified: configured:node:node-ff5d58c2-a64c-4420-a09a-02c1d9685df2:node-a167f9a6-016c-488f-b963-f25c852a2c02 :: true

2023-09-29 00:29:42 | [Mutex] waiting for: [received:nodes:55da2b65-cb12-443f-ba2e-7b4ced52d441:localhost]

2023-09-29 00:29:42 | [Mutex] received everything.

2023-09-29 00:29:42 | [Mutex] isItemNotified: received:node:55da2b65-cb12-443f-ba2e-7b4ced52d441:localhost:node-ff5d58c2-a64c-4420-a09a-02c1d9685df2:Node ff5d58c2-a64c-4420-a09a-02c1d9685df2 :: true

2023-09-29 00:29:42 | [Mutex] waiting for: [received:nodes:2465eaaa-a872-49aa-952f-782d512ebddc:localhost]

2023-09-29 00:29:42 | [Mutex] waiting for: [received:nodes:2465eaaa-a872-49aa-952f-782d512ebddc:localhost]

2023-09-29 00:29:42 | [Mutex] waiting for: [received:nodes:2465eaaa-a872-49aa-952f-782d512ebddc:localhost]

2023-09-29 00:29:42 | [Mutex] waiting for: [received:nodes:2465eaaa-a872-49aa-952f-782d512ebddc:localhost]

2023-09-29 00:29:42 | [Mutex] received everything.

2023-09-29 00:29:42 | [Mutex] isItemNotified: received:node:2465eaaa-a872-49aa-952f-782d512ebddc:localhost:node-ff5d58c2-a64c-4420-a09a-02c1d9685df2:Node ff5d58c2-a64c-4420-a09a-02c1d9685df2 :: false

createNodes 1.512s
2023-09-29 00:29:38 |

2023-09-29 00:29:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:38 | ------------------------------------

2023-09-29 00:29:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ff5d58c2-a64c-4420-a09a-02c1d9685df2</title></pubsub></data>

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

2023-09-29 00:29:39 | [Mutex] waiting for: [received:nodes:66eecfe8-6938-413b-8d31-ca1f11c22a56:localhost]

2023-09-29 00:29:39 | [Mutex] waiting for: [received:nodes:66eecfe8-6938-413b-8d31-ca1f11c22a56:localhost]

2023-09-29 00:29:39 | [Mutex] waiting for: [received:nodes:66eecfe8-6938-413b-8d31-ca1f11c22a56:localhost]

2023-09-29 00:29:39 | [Mutex] waiting for: [received:nodes:66eecfe8-6938-413b-8d31-ca1f11c22a56:localhost]

2023-09-29 00:29:39 | [Mutex] received everything.

2023-09-29 00:29:39 | [Mutex] isItemNotified: received:node:66eecfe8-6938-413b-8d31-ca1f11c22a56:localhost:node-ff5d58c2-a64c-4420-a09a-02c1d9685df2:Node ff5d58c2-a64c-4420-a09a-02c1d9685df2 :: true

createSubnodes 1.022s
2023-09-29 00:29:39 |

2023-09-29 00:29:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:39 | ------------------------------------

2023-09-29 00:29:39 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-a167f9a6-016c-488f-b963-f25c852a2c02</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node a167f9a6-016c-488f-b963-f25c852a2c02</title></pubsub></data>

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

2023-09-29 00:29:40 | [Mutex] waiting for: [received:nodes:2aabd979-897c-46e8-97a3-3cf2dcfae055:localhost]

2023-09-29 00:29:40 | [Mutex] waiting for: [received:nodes:2aabd979-897c-46e8-97a3-3cf2dcfae055:localhost]

2023-09-29 00:29:40 | [Mutex] waiting for: [received:nodes:2aabd979-897c-46e8-97a3-3cf2dcfae055:localhost]

2023-09-29 00:29:40 | [Mutex] waiting for: [received:nodes:2aabd979-897c-46e8-97a3-3cf2dcfae055:localhost]

2023-09-29 00:29:40 | [Mutex] waiting for: [received:nodes:2aabd979-897c-46e8-97a3-3cf2dcfae055:localhost]

2023-09-29 00:29:40 | [Mutex] received everything.

2023-09-29 00:29:40 | [Mutex] isItemNotified: received:node:2aabd979-897c-46e8-97a3-3cf2dcfae055:localhost:node-a167f9a6-016c-488f-b963-f25c852a2c02:Node a167f9a6-016c-488f-b963-f25c852a2c02 :: true

deleteNodes 1.017s
2023-09-29 00:29:46 |

2023-09-29 00:29:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:46 | ------------------------------------

2023-09-29 00:29:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-a167f9a6-016c-488f-b963-f25c852a2c02</node></data>

2023-09-29 00:29:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-29 00:29:47 | [Mutex] waiting for: [received:nodes:ebc26b0f-6cbc-42f3-b9df-c86c04b0bd16:localhost]

2023-09-29 00:29:47 | [Mutex] waiting for: [received:nodes:ebc26b0f-6cbc-42f3-b9df-c86c04b0bd16:localhost]

2023-09-29 00:29:47 | [Mutex] waiting for: [received:nodes:ebc26b0f-6cbc-42f3-b9df-c86c04b0bd16:localhost]

2023-09-29 00:29:47 | [Mutex] received everything.

2023-09-29 00:29:47 | [Mutex] isItemNotified: received:node:ebc26b0f-6cbc-42f3-b9df-c86c04b0bd16:localhost:node-a167f9a6-016c-488f-b963-f25c852a2c02:Node a167f9a6-016c-488f-b963-f25c852a2c02 :: false

deleteSubnodes 1.181s
2023-09-29 00:29:45 |

2023-09-29 00:29:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:45 | ------------------------------------

2023-09-29 00:29:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</node></data>

2023-09-29 00:29:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-09-29 00:29:46 | [Mutex] waiting for: [received:nodes:f11fc7d2-04a7-474e-bd12-f682b57e0ccc:localhost]

2023-09-29 00:29:46 | [Mutex] waiting for: [received:nodes:f11fc7d2-04a7-474e-bd12-f682b57e0ccc:localhost]

2023-09-29 00:29:46 | [Mutex] waiting for: [received:nodes:f11fc7d2-04a7-474e-bd12-f682b57e0ccc:localhost]

2023-09-29 00:29:46 | [Mutex] waiting for: [received:nodes:f11fc7d2-04a7-474e-bd12-f682b57e0ccc:localhost]

2023-09-29 00:29:46 | [Mutex] received everything.

2023-09-29 00:29:46 | [Mutex] isItemNotified: received:node:f11fc7d2-04a7-474e-bd12-f682b57e0ccc:localhost:node-ff5d58c2-a64c-4420-a09a-02c1d9685df2:Node ff5d58c2-a64c-4420-a09a-02c1d9685df2 :: false

2023-09-29 00:29:46 | [Mutex] waiting for: [received:nodes:482c79d3-6a94-4b95-8b06-13772f632a9f:localhost]

2023-09-29 00:29:46 | [Mutex] received everything.

2023-09-29 00:29:46 | [Mutex] isItemNotified: received:node:482c79d3-6a94-4b95-8b06-13772f632a9f:localhost:node-ff5d58c2-a64c-4420-a09a-02c1d9685df2:Node ff5d58c2-a64c-4420-a09a-02c1d9685df2 :: false

publishItemsToNodes 0.227s
2023-09-29 00:29:43 |

2023-09-29 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:43 | ------------------------------------

2023-09-29 00:29:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</node><item-id>item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</item-id><entry><test>item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</test></entry></data>

2023-09-29 00:29:43 | 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-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</value></item-id></result>

2023-09-29 00:29:43 | [Mutex] waiting for: [published:item:notifieditem-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56:admin@test-domain.com]

2023-09-29 00:29:43 | [Mutex] received everything.

2023-09-29 00:29:43 | [Mutex] isItemNotified: published:item:notifieditem-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56:admin@test-domain.com :: true

retractItemsFromNodes 0.267s
2023-09-29 00:29:43 |

2023-09-29 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:43 | ------------------------------------

2023-09-29 00:29:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</node><item-id>item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</item-id></data>

2023-09-29 00:29: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-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</value></item-id></result>

2023-09-29 00:29:43 | [Mutex] received everything.

2023-09-29 00:29:43 | [Mutex] isItemNotified: retracted:item:notifieditem-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56:admin@test-domain.com :: true

retrieveItemsFromNodes 0.125s
2023-09-29 00:29:43 |

2023-09-29 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:43 | ------------------------------------

2023-09-29 00:29:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</node><item-id>item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</item-id></data>

2023-09-29 00:29: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-ff5d58c2-a64c-4420-a09a-02c1d9685df2</value></node><item-id label="Item ID" type="text-single"><value>item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</value></item-id><item label="Item" type="text-multi"><value><item id="item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56"><test>item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56</test></item></value></item></result>

2023-09-29 00:29:43 | [Mutex] notify: [retrieved:item:item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56:payload-matches:true:localhost]

2023-09-29 00:29:43 | [Mutex] received everything.

2023-09-29 00:29:43 | [Mutex] isItemNotified: retrieved:item:item-009f9f7d-9ce2-48ce-b26d-f4d27dd7bf56:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2023-09-29 00:29:43 |

2023-09-29 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:43 | ------------------------------------

2023-09-29 00:29:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-09-29 00:29: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-a167f9a6-016c-488f-b963-f25c852a2c02</value><value>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-09-29 00:29:43 |

2023-09-29 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:43 | ------------------------------------

2023-09-29 00:29: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-ff5d58c2-a64c-4420-a09a-02c1d9685df2)</node-pattern></data>

2023-09-29 00:29:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.111s
2023-09-29 00:29:42 |

2023-09-29 00:29:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:42 | ------------------------------------

2023-09-29 00:29:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</node><jids><value>admin@test-domain.com</value></jids></data>

2023-09-29 00:29:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.199s
2023-09-29 00:29:43 |

2023-09-29 00:29:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-09-29 00:29:43 | ------------------------------------

2023-09-29 00:29:43 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-ff5d58c2-a64c-4420-a09a-02c1d9685df2</node><jids><value>admin@test-domain.com</value></jids></data>

2023-09-29 00:29:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>