Generated by TestNG with ReportNG at 21:15 PST on Tuesday 10 January 2023
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.450s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.100s
2023-01-10 21:29:25 |

2023-01-10 21:29:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:25 | ------------------------------------

2023-01-10 21:29:25 | [Mutex] waiting for: [configured:node:node-6e374885-baf1-45e2-8eac-f4d60478a32d:node-99225aeb-fd88-42bb-ab90-15e3ddc6eaab]

2023-01-10 21:29:25 | [Mutex] received everything.

2023-01-10 21:29:25 | [Mutex] isItemNotified: configured:node:node-6e374885-baf1-45e2-8eac-f4d60478a32d:node-99225aeb-fd88-42bb-ab90-15e3ddc6eaab :: true

2023-01-10 21:29:26 | [Mutex] waiting for: [received:nodes:696f3c92-d013-4e00-b010-6c90427c6da4:localhost]

2023-01-10 21:29:26 | [Mutex] received everything.

2023-01-10 21:29:26 | [Mutex] isItemNotified: received:node:696f3c92-d013-4e00-b010-6c90427c6da4:localhost:node-6e374885-baf1-45e2-8eac-f4d60478a32d:Node 6e374885-baf1-45e2-8eac-f4d60478a32d :: true

2023-01-10 21:29:26 | [Mutex] waiting for: [received:nodes:c92cf6bf-1da6-4e60-81c3-956995aa4bc3:localhost]

2023-01-10 21:29:26 | [Mutex] waiting for: [received:nodes:c92cf6bf-1da6-4e60-81c3-956995aa4bc3:localhost]

2023-01-10 21:29:26 | [Mutex] waiting for: [received:nodes:c92cf6bf-1da6-4e60-81c3-956995aa4bc3:localhost]

2023-01-10 21:29:26 | [Mutex] waiting for: [received:nodes:c92cf6bf-1da6-4e60-81c3-956995aa4bc3:localhost]

2023-01-10 21:29:26 | [Mutex] received everything.

2023-01-10 21:29:26 | [Mutex] isItemNotified: received:node:c92cf6bf-1da6-4e60-81c3-956995aa4bc3:localhost:node-6e374885-baf1-45e2-8eac-f4d60478a32d:Node 6e374885-baf1-45e2-8eac-f4d60478a32d :: false

createNodes 1.376s
2023-01-10 21:29:22 |

2023-01-10 21:29:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:22 | ------------------------------------

2023-01-10 21:29:22 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-6e374885-baf1-45e2-8eac-f4d60478a32d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 6e374885-baf1-45e2-8eac-f4d60478a32d</title></pubsub></data>

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

2023-01-10 21:29:24 | [Mutex] waiting for: [received:nodes:971778cf-7e37-49e8-a5dd-92dd3f73fa73:localhost]

2023-01-10 21:29:24 | [Mutex] waiting for: [received:nodes:971778cf-7e37-49e8-a5dd-92dd3f73fa73:localhost]

2023-01-10 21:29:24 | [Mutex] waiting for: [received:nodes:971778cf-7e37-49e8-a5dd-92dd3f73fa73:localhost]

2023-01-10 21:29:24 | [Mutex] received everything.

2023-01-10 21:29:24 | [Mutex] isItemNotified: received:node:971778cf-7e37-49e8-a5dd-92dd3f73fa73:localhost:node-6e374885-baf1-45e2-8eac-f4d60478a32d:Node 6e374885-baf1-45e2-8eac-f4d60478a32d :: true

createSubnodes 1.023s
2023-01-10 21:29:24 |

2023-01-10 21:29:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:24 | ------------------------------------

2023-01-10 21:29:24 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-99225aeb-fd88-42bb-ab90-15e3ddc6eaab</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 99225aeb-fd88-42bb-ab90-15e3ddc6eaab</title></pubsub></data>

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

2023-01-10 21:29:25 | [Mutex] waiting for: [received:nodes:c192a433-3cad-4ca3-b703-cb3d11638bcd:localhost]

2023-01-10 21:29:25 | [Mutex] waiting for: [received:nodes:c192a433-3cad-4ca3-b703-cb3d11638bcd:localhost]

2023-01-10 21:29:25 | [Mutex] waiting for: [received:nodes:c192a433-3cad-4ca3-b703-cb3d11638bcd:localhost]

2023-01-10 21:29:25 | [Mutex] waiting for: [received:nodes:c192a433-3cad-4ca3-b703-cb3d11638bcd:localhost]

2023-01-10 21:29:25 | [Mutex] received everything.

2023-01-10 21:29:25 | [Mutex] isItemNotified: received:node:c192a433-3cad-4ca3-b703-cb3d11638bcd:localhost:node-99225aeb-fd88-42bb-ab90-15e3ddc6eaab:Node 99225aeb-fd88-42bb-ab90-15e3ddc6eaab :: true

deleteNodes 1.016s
2023-01-10 21:29:30 |

2023-01-10 21:29:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:30 | ------------------------------------

2023-01-10 21:29:30 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-99225aeb-fd88-42bb-ab90-15e3ddc6eaab</node></data>

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

2023-01-10 21:29:31 | [Mutex] waiting for: [received:nodes:8b35c261-2d75-45dc-a6a7-75dbc9dc6da9:localhost]

2023-01-10 21:29:31 | [Mutex] waiting for: [received:nodes:8b35c261-2d75-45dc-a6a7-75dbc9dc6da9:localhost]

2023-01-10 21:29:31 | [Mutex] waiting for: [received:nodes:8b35c261-2d75-45dc-a6a7-75dbc9dc6da9:localhost]

2023-01-10 21:29:31 | [Mutex] received everything.

2023-01-10 21:29:31 | [Mutex] isItemNotified: received:node:8b35c261-2d75-45dc-a6a7-75dbc9dc6da9:localhost:node-99225aeb-fd88-42bb-ab90-15e3ddc6eaab:Node 99225aeb-fd88-42bb-ab90-15e3ddc6eaab :: false

deleteSubnodes 1.125s
2023-01-10 21:29:29 |

2023-01-10 21:29:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:29 | ------------------------------------

2023-01-10 21:29:29 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-6e374885-baf1-45e2-8eac-f4d60478a32d</node></data>

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

2023-01-10 21:29:30 | [Mutex] waiting for: [received:nodes:9cda6546-99b4-47bb-af32-dc0093fa3f48:localhost]

2023-01-10 21:29:30 | [Mutex] waiting for: [received:nodes:9cda6546-99b4-47bb-af32-dc0093fa3f48:localhost]

2023-01-10 21:29:30 | [Mutex] waiting for: [received:nodes:9cda6546-99b4-47bb-af32-dc0093fa3f48:localhost]

2023-01-10 21:29:30 | [Mutex] waiting for: [received:nodes:9cda6546-99b4-47bb-af32-dc0093fa3f48:localhost]

2023-01-10 21:29:30 | [Mutex] received everything.

2023-01-10 21:29:30 | [Mutex] isItemNotified: received:node:9cda6546-99b4-47bb-af32-dc0093fa3f48:localhost:node-6e374885-baf1-45e2-8eac-f4d60478a32d:Node 6e374885-baf1-45e2-8eac-f4d60478a32d :: false

2023-01-10 21:29:30 | [Mutex] waiting for: [received:nodes:49aa18a2-b9d1-4c88-865d-2f831c44ab0e:localhost]

2023-01-10 21:29:30 | [Mutex] received everything.

2023-01-10 21:29:30 | [Mutex] isItemNotified: received:node:49aa18a2-b9d1-4c88-865d-2f831c44ab0e:localhost:node-6e374885-baf1-45e2-8eac-f4d60478a32d:Node 6e374885-baf1-45e2-8eac-f4d60478a32d :: false

publishItemsToNodes 0.295s
2023-01-10 21:29:27 |

2023-01-10 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:27 | ------------------------------------

2023-01-10 21:29:27 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-6e374885-baf1-45e2-8eac-f4d60478a32d</node><item-id>item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</item-id><entry><test>item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</test></entry></data>

2023-01-10 21:29:27 | 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-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</value></item-id></result>

2023-01-10 21:29:27 | [Mutex] waiting for: [published:item:notifieditem-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f:admin@test-domain.com]

2023-01-10 21:29:27 | [Mutex] received everything.

2023-01-10 21:29:27 | [Mutex] isItemNotified: published:item:notifieditem-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f:admin@test-domain.com :: true

retractItemsFromNodes 0.277s
2023-01-10 21:29:28 |

2023-01-10 21:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:28 | ------------------------------------

2023-01-10 21:29:28 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-6e374885-baf1-45e2-8eac-f4d60478a32d</node><item-id>item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</item-id></data>

2023-01-10 21:29:28 | 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-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</value></item-id></result>

2023-01-10 21:29:28 | [Mutex] waiting for: [retracted:item:notifieditem-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f:admin@test-domain.com]

2023-01-10 21:29:28 | [Mutex] received everything.

2023-01-10 21:29:28 | [Mutex] isItemNotified: retracted:item:notifieditem-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.223s
2023-01-10 21:29:27 |

2023-01-10 21:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:27 | ------------------------------------

2023-01-10 21:29:27 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-6e374885-baf1-45e2-8eac-f4d60478a32d</node><item-id>item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</item-id></data>

2023-01-10 21:29:28 | 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-6e374885-baf1-45e2-8eac-f4d60478a32d</value></node><item-id type="text-single" label="Item ID"><value>item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</value></item-id><item type="text-multi" label="Item"><value><item id="item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f"><test>item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f</test></item></value></item></result>

2023-01-10 21:29:28 | [Mutex] notify: [retrieved:item:item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f:payload-matches:true:localhost]

2023-01-10 21:29:28 | [Mutex] received everything.

2023-01-10 21:29:28 | [Mutex] isItemNotified: retrieved:item:item-b4486ea6-3aac-4b7d-a23a-687fe56fcb4f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-01-10 21:29:28 |

2023-01-10 21:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:28 | ------------------------------------

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

2023-01-10 21:29:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-6e374885-baf1-45e2-8eac-f4d60478a32d</value><value>test</value><value>node-99225aeb-fd88-42bb-ab90-15e3ddc6eaab</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.057s
2023-01-10 21:29:28 |

2023-01-10 21:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:28 | ------------------------------------

2023-01-10 21:29:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-6e374885-baf1-45e2-8eac-f4d60478a32d)</node-pattern></data>

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

subscribeNodes 1.166s
2023-01-10 21:29:26 |

2023-01-10 21:29:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:26 | ------------------------------------

2023-01-10 21:29:26 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-6e374885-baf1-45e2-8eac-f4d60478a32d</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.186s
2023-01-10 21:29:28 |

2023-01-10 21:29:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-10 21:29:28 | ------------------------------------

2023-01-10 21:29:28 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-6e374885-baf1-45e2-8eac-f4d60478a32d</node><jids><value>admin@test-domain.com</value></jids></data>

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