Generated by TestNG with ReportNG at 21:29 PST on Monday 16 January 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.390s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.084s
2023-01-16 21:45:58 |

2023-01-16 21:45:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:45:58 | ------------------------------------

2023-01-16 21:45:58 | [Mutex] waiting for: [configured:node:node-4897d936-6b72-4f28-8d60-7bf64bced261:node-d2106284-fb6e-4abb-ae25-7d4002293838]

2023-01-16 21:45:58 | [Mutex] received everything.

2023-01-16 21:45:58 | [Mutex] isItemNotified: configured:node:node-4897d936-6b72-4f28-8d60-7bf64bced261:node-d2106284-fb6e-4abb-ae25-7d4002293838 :: true

2023-01-16 21:45:59 | [Mutex] waiting for: [received:nodes:f4e8050e-8960-48ec-a20f-d14bbadbecee:localhost]

2023-01-16 21:45:59 | [Mutex] received everything.

2023-01-16 21:45:59 | [Mutex] isItemNotified: received:node:f4e8050e-8960-48ec-a20f-d14bbadbecee:localhost:node-4897d936-6b72-4f28-8d60-7bf64bced261:Node 4897d936-6b72-4f28-8d60-7bf64bced261 :: true

2023-01-16 21:45:59 | [Mutex] waiting for: [received:nodes:8c4a46ea-d433-4cad-9694-fddb26c87c7a:localhost]

2023-01-16 21:45:59 | [Mutex] waiting for: [received:nodes:8c4a46ea-d433-4cad-9694-fddb26c87c7a:localhost]

2023-01-16 21:45:59 | [Mutex] waiting for: [received:nodes:8c4a46ea-d433-4cad-9694-fddb26c87c7a:localhost]

2023-01-16 21:45:59 | [Mutex] waiting for: [received:nodes:8c4a46ea-d433-4cad-9694-fddb26c87c7a:localhost]

2023-01-16 21:45:59 | [Mutex] received everything.

2023-01-16 21:45:59 | [Mutex] isItemNotified: received:node:8c4a46ea-d433-4cad-9694-fddb26c87c7a:localhost:node-4897d936-6b72-4f28-8d60-7bf64bced261:Node 4897d936-6b72-4f28-8d60-7bf64bced261 :: false

createNodes 1.424s
2023-01-16 21:45:56 |

2023-01-16 21:45:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:45:56 | ------------------------------------

2023-01-16 21:45:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4897d936-6b72-4f28-8d60-7bf64bced261</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4897d936-6b72-4f28-8d60-7bf64bced261</title></pubsub></data>

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

2023-01-16 21:45:57 | [Mutex] waiting for: [received:nodes:944ef666-c141-413e-9efb-b3dbc2da798b:localhost]

2023-01-16 21:45:57 | [Mutex] waiting for: [received:nodes:944ef666-c141-413e-9efb-b3dbc2da798b:localhost]

2023-01-16 21:45:57 | [Mutex] waiting for: [received:nodes:944ef666-c141-413e-9efb-b3dbc2da798b:localhost]

2023-01-16 21:45:57 | [Mutex] received everything.

2023-01-16 21:45:57 | [Mutex] isItemNotified: received:node:944ef666-c141-413e-9efb-b3dbc2da798b:localhost:node-4897d936-6b72-4f28-8d60-7bf64bced261:Node 4897d936-6b72-4f28-8d60-7bf64bced261 :: true

createSubnodes 1.031s
2023-01-16 21:45:57 |

2023-01-16 21:45:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:45:57 | ------------------------------------

2023-01-16 21:45:57 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d2106284-fb6e-4abb-ae25-7d4002293838</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d2106284-fb6e-4abb-ae25-7d4002293838</title></pubsub></data>

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

2023-01-16 21:45:58 | [Mutex] waiting for: [received:nodes:6b6b5c4a-1f1c-42a3-8d69-581aa2d5f7bf:localhost]

2023-01-16 21:45:58 | [Mutex] waiting for: [received:nodes:6b6b5c4a-1f1c-42a3-8d69-581aa2d5f7bf:localhost]

2023-01-16 21:45:58 | [Mutex] waiting for: [received:nodes:6b6b5c4a-1f1c-42a3-8d69-581aa2d5f7bf:localhost]

2023-01-16 21:45:58 | [Mutex] waiting for: [received:nodes:6b6b5c4a-1f1c-42a3-8d69-581aa2d5f7bf:localhost]

2023-01-16 21:45:58 | [Mutex] received everything.

2023-01-16 21:45:58 | [Mutex] isItemNotified: received:node:6b6b5c4a-1f1c-42a3-8d69-581aa2d5f7bf:localhost:node-d2106284-fb6e-4abb-ae25-7d4002293838:Node d2106284-fb6e-4abb-ae25-7d4002293838 :: true

deleteNodes 1.021s
2023-01-16 21:46:04 |

2023-01-16 21:46:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:46:04 | ------------------------------------

2023-01-16 21:46:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d2106284-fb6e-4abb-ae25-7d4002293838</node></data>

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

2023-01-16 21:46:05 | [Mutex] waiting for: [received:nodes:888951db-4f71-4c62-9fda-f996e2f263ef:localhost]

2023-01-16 21:46:05 | [Mutex] received everything.

2023-01-16 21:46:05 | [Mutex] isItemNotified: received:node:888951db-4f71-4c62-9fda-f996e2f263ef:localhost:node-d2106284-fb6e-4abb-ae25-7d4002293838:Node d2106284-fb6e-4abb-ae25-7d4002293838 :: false

deleteSubnodes 1.123s
2023-01-16 21:46:03 |

2023-01-16 21:46:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:46:03 | ------------------------------------

2023-01-16 21:46:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4897d936-6b72-4f28-8d60-7bf64bced261</node></data>

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

2023-01-16 21:46:04 | [Mutex] waiting for: [received:nodes:baa829e3-34f2-49dc-b95a-300686fd08ee:localhost]

2023-01-16 21:46:04 | [Mutex] waiting for: [received:nodes:baa829e3-34f2-49dc-b95a-300686fd08ee:localhost]

2023-01-16 21:46:04 | [Mutex] waiting for: [received:nodes:baa829e3-34f2-49dc-b95a-300686fd08ee:localhost]

2023-01-16 21:46:04 | [Mutex] waiting for: [received:nodes:baa829e3-34f2-49dc-b95a-300686fd08ee:localhost]

2023-01-16 21:46:04 | [Mutex] received everything.

2023-01-16 21:46:04 | [Mutex] isItemNotified: received:node:baa829e3-34f2-49dc-b95a-300686fd08ee:localhost:node-4897d936-6b72-4f28-8d60-7bf64bced261:Node 4897d936-6b72-4f28-8d60-7bf64bced261 :: false

2023-01-16 21:46:04 | [Mutex] waiting for: [received:nodes:3afd58cd-f65d-45dc-bf25-900881fcfb60:localhost]

2023-01-16 21:46:04 | [Mutex] received everything.

2023-01-16 21:46:04 | [Mutex] isItemNotified: received:node:3afd58cd-f65d-45dc-bf25-900881fcfb60:localhost:node-4897d936-6b72-4f28-8d60-7bf64bced261:Node 4897d936-6b72-4f28-8d60-7bf64bced261 :: false

publishItemsToNodes 0.191s
2023-01-16 21:46:01 |

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

2023-01-16 21:46:01 | ------------------------------------

2023-01-16 21:46:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4897d936-6b72-4f28-8d60-7bf64bced261</node><item-id>item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</item-id><entry><test>item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</test></entry></data>

2023-01-16 21:46:01 | 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-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</value></item-id></result>

2023-01-16 21:46:01 | [Mutex] received everything.

2023-01-16 21:46:01 | [Mutex] isItemNotified: published:item:notifieditem-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac:admin@test-domain.com :: true

retractItemsFromNodes 0.343s
2023-01-16 21:46:01 |

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

2023-01-16 21:46:01 | ------------------------------------

2023-01-16 21:46:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4897d936-6b72-4f28-8d60-7bf64bced261</node><item-id>item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</item-id></data>

2023-01-16 21:46:01 | 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-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</value></item-id></result>

2023-01-16 21:46:01 | [Mutex] received everything.

2023-01-16 21:46:01 | [Mutex] isItemNotified: retracted:item:notifieditem-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac:admin@test-domain.com :: true

retrieveItemsFromNodes 0.158s
2023-01-16 21:46:01 |

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

2023-01-16 21:46:01 | ------------------------------------

2023-01-16 21:46:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4897d936-6b72-4f28-8d60-7bf64bced261</node><item-id>item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</item-id></data>

2023-01-16 21:46:01 | 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-4897d936-6b72-4f28-8d60-7bf64bced261</value></node><item-id label="Item ID" type="text-single"><value>item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</value></item-id><item label="Item" type="text-multi"><value><item id="item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac"><test>item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac</test></item></value></item></result>

2023-01-16 21:46:01 | [Mutex] notify: [retrieved:item:item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac:payload-matches:true:localhost]

2023-01-16 21:46:01 | [Mutex] received everything.

2023-01-16 21:46:01 | [Mutex] isItemNotified: retrieved:item:item-5f85b0ce-0a55-4b13-852a-8add8ef0e9ac:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-01-16 21:46:01 |

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

2023-01-16 21:46:01 | ------------------------------------

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

2023-01-16 21:46:01 | 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-d2106284-fb6e-4abb-ae25-7d4002293838</value><value>node-4897d936-6b72-4f28-8d60-7bf64bced261</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2023-01-16 21:46:01 |

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

2023-01-16 21:46:01 | ------------------------------------

2023-01-16 21:46:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4897d936-6b72-4f28-8d60-7bf64bced261)</node-pattern></data>

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

subscribeNodes 1.110s
2023-01-16 21:45:59 |

2023-01-16 21:45:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-01-16 21:45:59 | ------------------------------------

2023-01-16 21:45:59 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4897d936-6b72-4f28-8d60-7bf64bced261</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.187s
2023-01-16 21:46:01 |

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

2023-01-16 21:46:01 | ------------------------------------

2023-01-16 21:46:01 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4897d936-6b72-4f28-8d60-7bf64bced261</node><jids><value>admin@test-domain.com</value></jids></data>

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