Generated by TestNG with ReportNG at 22:45 PDT on Thursday 06 July 2023
root@1512af24e4a5 / Java 17.0.6 (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.402s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.106s
2023-07-06 22:59:47 |

2023-07-06 22:59:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:47 | ------------------------------------

2023-07-06 22:59:47 | [Mutex] waiting for: [configured:node:node-98750af8-cd3f-4983-a3a6-13642ba88d01:node-0196dd3a-1570-4856-901e-2e52b3d0dda0]

2023-07-06 22:59:48 | [Mutex] received everything.

2023-07-06 22:59:48 | [Mutex] isItemNotified: configured:node:node-98750af8-cd3f-4983-a3a6-13642ba88d01:node-0196dd3a-1570-4856-901e-2e52b3d0dda0 :: true

2023-07-06 22:59:49 | [Mutex] waiting for: [received:nodes:9cc02276-5e30-42fb-a8c6-7a0bfaec965b:localhost]

2023-07-06 22:59:49 | [Mutex] received everything.

2023-07-06 22:59:49 | [Mutex] isItemNotified: received:node:9cc02276-5e30-42fb-a8c6-7a0bfaec965b:localhost:node-98750af8-cd3f-4983-a3a6-13642ba88d01:Node 98750af8-cd3f-4983-a3a6-13642ba88d01 :: true

2023-07-06 22:59:49 | [Mutex] waiting for: [received:nodes:ec568b4a-abcd-4a71-9170-d8b588f94893:localhost]

2023-07-06 22:59:49 | [Mutex] received everything.

2023-07-06 22:59:49 | [Mutex] isItemNotified: received:node:ec568b4a-abcd-4a71-9170-d8b588f94893:localhost:node-98750af8-cd3f-4983-a3a6-13642ba88d01:Node 98750af8-cd3f-4983-a3a6-13642ba88d01 :: false

createNodes 1.440s
2023-07-06 22:59:45 |

2023-07-06 22:59:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:45 | ------------------------------------

2023-07-06 22:59:45 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-98750af8-cd3f-4983-a3a6-13642ba88d01</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 98750af8-cd3f-4983-a3a6-13642ba88d01</title></pubsub></data>

2023-07-06 22:59:45 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:59:46 | [Mutex] waiting for: [received:nodes:0503e094-7ee5-4934-923b-753cce426889:localhost]

2023-07-06 22:59:46 | [Mutex] waiting for: [received:nodes:0503e094-7ee5-4934-923b-753cce426889:localhost]

2023-07-06 22:59:46 | [Mutex] waiting for: [received:nodes:0503e094-7ee5-4934-923b-753cce426889:localhost]

2023-07-06 22:59:46 | [Mutex] waiting for: [received:nodes:0503e094-7ee5-4934-923b-753cce426889:localhost]

2023-07-06 22:59:46 | [Mutex] received everything.

2023-07-06 22:59:46 | [Mutex] isItemNotified: received:node:0503e094-7ee5-4934-923b-753cce426889:localhost:node-98750af8-cd3f-4983-a3a6-13642ba88d01:Node 98750af8-cd3f-4983-a3a6-13642ba88d01 :: true

createSubnodes 1.021s
2023-07-06 22:59:46 |

2023-07-06 22:59:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:46 | ------------------------------------

2023-07-06 22:59:46 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0196dd3a-1570-4856-901e-2e52b3d0dda0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0196dd3a-1570-4856-901e-2e52b3d0dda0</title></pubsub></data>

2023-07-06 22:59:46 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:59:47 | [Mutex] waiting for: [received:nodes:baf6f407-ce13-4896-8bf8-bd35f4b3d1e2:localhost]

2023-07-06 22:59:47 | [Mutex] waiting for: [received:nodes:baf6f407-ce13-4896-8bf8-bd35f4b3d1e2:localhost]

2023-07-06 22:59:47 | [Mutex] waiting for: [received:nodes:baf6f407-ce13-4896-8bf8-bd35f4b3d1e2:localhost]

2023-07-06 22:59:47 | [Mutex] waiting for: [received:nodes:baf6f407-ce13-4896-8bf8-bd35f4b3d1e2:localhost]

2023-07-06 22:59:47 | [Mutex] waiting for: [received:nodes:baf6f407-ce13-4896-8bf8-bd35f4b3d1e2:localhost]

2023-07-06 22:59:47 | [Mutex] received everything.

2023-07-06 22:59:47 | [Mutex] isItemNotified: received:node:baf6f407-ce13-4896-8bf8-bd35f4b3d1e2:localhost:node-0196dd3a-1570-4856-901e-2e52b3d0dda0:Node 0196dd3a-1570-4856-901e-2e52b3d0dda0 :: true

deleteNodes 1.017s
2023-07-06 22:59:53 |

2023-07-06 22:59:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:53 | ------------------------------------

2023-07-06 22:59:53 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0196dd3a-1570-4856-901e-2e52b3d0dda0</node></data>

2023-07-06 22:59:53 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:59:54 | [Mutex] waiting for: [received:nodes:a956bdd8-ce40-4e70-a3a9-161a05e9274c:localhost]

2023-07-06 22:59:54 | [Mutex] waiting for: [received:nodes:a956bdd8-ce40-4e70-a3a9-161a05e9274c:localhost]

2023-07-06 22:59:54 | [Mutex] waiting for: [received:nodes:a956bdd8-ce40-4e70-a3a9-161a05e9274c:localhost]

2023-07-06 22:59:54 | [Mutex] received everything.

2023-07-06 22:59:54 | [Mutex] isItemNotified: received:node:a956bdd8-ce40-4e70-a3a9-161a05e9274c:localhost:node-0196dd3a-1570-4856-901e-2e52b3d0dda0:Node 0196dd3a-1570-4856-901e-2e52b3d0dda0 :: false

deleteSubnodes 1.130s
2023-07-06 22:59:52 |

2023-07-06 22:59:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:52 | ------------------------------------

2023-07-06 22:59:52 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-98750af8-cd3f-4983-a3a6-13642ba88d01</node></data>

2023-07-06 22:59:52 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2023-07-06 22:59:53 | [Mutex] waiting for: [received:nodes:247d1587-504d-45b9-b24c-e29b3d184792:localhost]

2023-07-06 22:59:53 | [Mutex] waiting for: [received:nodes:247d1587-504d-45b9-b24c-e29b3d184792:localhost]

2023-07-06 22:59:53 | [Mutex] waiting for: [received:nodes:247d1587-504d-45b9-b24c-e29b3d184792:localhost]

2023-07-06 22:59:53 | [Mutex] waiting for: [received:nodes:247d1587-504d-45b9-b24c-e29b3d184792:localhost]

2023-07-06 22:59:53 | [Mutex] received everything.

2023-07-06 22:59:53 | [Mutex] isItemNotified: received:node:247d1587-504d-45b9-b24c-e29b3d184792:localhost:node-98750af8-cd3f-4983-a3a6-13642ba88d01:Node 98750af8-cd3f-4983-a3a6-13642ba88d01 :: false

2023-07-06 22:59:53 | [Mutex] waiting for: [received:nodes:f4e21b13-0e24-4fd0-9d9f-9ab6be73584c:localhost]

2023-07-06 22:59:53 | [Mutex] received everything.

2023-07-06 22:59:53 | [Mutex] isItemNotified: received:node:f4e21b13-0e24-4fd0-9d9f-9ab6be73584c:localhost:node-98750af8-cd3f-4983-a3a6-13642ba88d01:Node 98750af8-cd3f-4983-a3a6-13642ba88d01 :: false

publishItemsToNodes 0.209s
2023-07-06 22:59:50 |

2023-07-06 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:50 | ------------------------------------

2023-07-06 22:59:50 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-98750af8-cd3f-4983-a3a6-13642ba88d01</node><item-id>item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</item-id><entry><test>item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</test></entry></data>

2023-07-06 22:59:50 | 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-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</value></item-id></result>

2023-07-06 22:59:50 | [Mutex] received everything.

2023-07-06 22:59:50 | [Mutex] isItemNotified: published:item:notifieditem-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242:admin@test-domain.com :: true

retractItemsFromNodes 0.247s
2023-07-06 22:59:50 |

2023-07-06 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:50 | ------------------------------------

2023-07-06 22:59:50 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-98750af8-cd3f-4983-a3a6-13642ba88d01</node><item-id>item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</item-id></data>

2023-07-06 22:59:50 | 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-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</value></item-id></result>

2023-07-06 22:59:50 | [Mutex] received everything.

2023-07-06 22:59:50 | [Mutex] isItemNotified: retracted:item:notifieditem-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242:admin@test-domain.com :: true

retrieveItemsFromNodes 0.173s
2023-07-06 22:59:50 |

2023-07-06 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:50 | ------------------------------------

2023-07-06 22:59:50 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-98750af8-cd3f-4983-a3a6-13642ba88d01</node><item-id>item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</item-id></data>

2023-07-06 22:59:50 | 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-98750af8-cd3f-4983-a3a6-13642ba88d01</value></node><item-id type="text-single" label="Item ID"><value>item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</value></item-id><item type="text-multi" label="Item"><value><item id="item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242"><test>item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242</test></item></value></item></result>

2023-07-06 22:59:50 | [Mutex] notify: [retrieved:item:item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242:payload-matches:true:localhost]

2023-07-06 22:59:50 | [Mutex] received everything.

2023-07-06 22:59:50 | [Mutex] isItemNotified: retrieved:item:item-bc93f6cb-a77b-44c8-b8f1-27bef4c0f242:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2023-07-06 22:59:50 |

2023-07-06 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:50 | ------------------------------------

2023-07-06 22:59:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2023-07-06 22:59:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-98750af8-cd3f-4983-a3a6-13642ba88d01</value><value>test</value><value>node-0196dd3a-1570-4856-901e-2e52b3d0dda0</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2023-07-06 22:59:50 |

2023-07-06 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:50 | ------------------------------------

2023-07-06 22:59:50 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-98750af8-cd3f-4983-a3a6-13642ba88d01)</node-pattern></data>

2023-07-06 22:59:50 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.131s
2023-07-06 22:59:49 |

2023-07-06 22:59:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:49 | ------------------------------------

2023-07-06 22:59:49 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-98750af8-cd3f-4983-a3a6-13642ba88d01</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-06 22:59:49 | 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-07-06 22:59:50 |

2023-07-06 22:59:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-06 22:59:50 | ------------------------------------

2023-07-06 22:59:50 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-98750af8-cd3f-4983-a3a6-13642ba88d01</node><jids><value>admin@test-domain.com</value></jids></data>

2023-07-06 22:59:51 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>