Generated by TestNG with ReportNG at 22:15 PDT on Sunday 09 July 2023
root@cc7d7fbb25f7 / 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.558s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.096s
2023-07-09 22:30:17 |

2023-07-09 22:30:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:17 | ------------------------------------

2023-07-09 22:30:17 | [Mutex] waiting for: [configured:node:node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039:node-e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec]

2023-07-09 22:30:17 | [Mutex] received everything.

2023-07-09 22:30:17 | [Mutex] isItemNotified: configured:node:node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039:node-e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec :: true

2023-07-09 22:30:18 | [Mutex] waiting for: [received:nodes:3c23368c-82e3-467f-a7e4-4035711dc510:localhost]

2023-07-09 22:30:18 | [Mutex] received everything.

2023-07-09 22:30:18 | [Mutex] isItemNotified: received:node:3c23368c-82e3-467f-a7e4-4035711dc510:localhost:node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039:Node 4b6119e6-59ad-4cc3-aac9-e1ebc25a2039 :: true

2023-07-09 22:30:18 | [Mutex] waiting for: [received:nodes:b9f2391d-ad9f-43bb-b97c-fcf38980804b:localhost]

2023-07-09 22:30:18 | [Mutex] waiting for: [received:nodes:b9f2391d-ad9f-43bb-b97c-fcf38980804b:localhost]

2023-07-09 22:30:18 | [Mutex] waiting for: [received:nodes:b9f2391d-ad9f-43bb-b97c-fcf38980804b:localhost]

2023-07-09 22:30:18 | [Mutex] received everything.

2023-07-09 22:30:18 | [Mutex] isItemNotified: received:node:b9f2391d-ad9f-43bb-b97c-fcf38980804b:localhost:node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039:Node 4b6119e6-59ad-4cc3-aac9-e1ebc25a2039 :: false

createNodes 1.442s
2023-07-09 22:30:14 |

2023-07-09 22:30:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:14 | ------------------------------------

2023-07-09 22:30:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</title></pubsub></data>

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

2023-07-09 22:30:16 | [Mutex] waiting for: [received:nodes:f65b2ebb-c3c9-44cb-a19a-a6d01643a51d:localhost]

2023-07-09 22:30:16 | [Mutex] waiting for: [received:nodes:f65b2ebb-c3c9-44cb-a19a-a6d01643a51d:localhost]

2023-07-09 22:30:16 | [Mutex] waiting for: [received:nodes:f65b2ebb-c3c9-44cb-a19a-a6d01643a51d:localhost]

2023-07-09 22:30:16 | [Mutex] received everything.

2023-07-09 22:30:16 | [Mutex] isItemNotified: received:node:f65b2ebb-c3c9-44cb-a19a-a6d01643a51d:localhost:node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039:Node 4b6119e6-59ad-4cc3-aac9-e1ebc25a2039 :: true

createSubnodes 1.026s
2023-07-09 22:30:16 |

2023-07-09 22:30:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:16 | ------------------------------------

2023-07-09 22:30:16 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec</title></pubsub></data>

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

2023-07-09 22:30:17 | [Mutex] waiting for: [received:nodes:a397e983-1467-4652-9530-eca1b6331da0:localhost]

2023-07-09 22:30:17 | [Mutex] waiting for: [received:nodes:a397e983-1467-4652-9530-eca1b6331da0:localhost]

2023-07-09 22:30:17 | [Mutex] waiting for: [received:nodes:a397e983-1467-4652-9530-eca1b6331da0:localhost]

2023-07-09 22:30:17 | [Mutex] received everything.

2023-07-09 22:30:17 | [Mutex] isItemNotified: received:node:a397e983-1467-4652-9530-eca1b6331da0:localhost:node-e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec:Node e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec :: true

deleteNodes 1.020s
2023-07-09 22:30:22 |

2023-07-09 22:30:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:22 | ------------------------------------

2023-07-09 22:30:22 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec</node></data>

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

2023-07-09 22:30:23 | [Mutex] waiting for: [received:nodes:6e758576-36f5-4b3b-8337-0dcc53304f35:localhost]

2023-07-09 22:30:23 | [Mutex] waiting for: [received:nodes:6e758576-36f5-4b3b-8337-0dcc53304f35:localhost]

2023-07-09 22:30:23 | [Mutex] received everything.

2023-07-09 22:30:23 | [Mutex] isItemNotified: received:node:6e758576-36f5-4b3b-8337-0dcc53304f35:localhost:node-e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec:Node e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec :: false

deleteSubnodes 1.130s
2023-07-09 22:30:21 |

2023-07-09 22:30:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:21 | ------------------------------------

2023-07-09 22:30:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</node></data>

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

2023-07-09 22:30:22 | [Mutex] waiting for: [received:nodes:6654b1b9-66cb-4092-a180-843bc4fafaae:localhost]

2023-07-09 22:30:22 | [Mutex] waiting for: [received:nodes:6654b1b9-66cb-4092-a180-843bc4fafaae:localhost]

2023-07-09 22:30:22 | [Mutex] waiting for: [received:nodes:6654b1b9-66cb-4092-a180-843bc4fafaae:localhost]

2023-07-09 22:30:22 | [Mutex] waiting for: [received:nodes:6654b1b9-66cb-4092-a180-843bc4fafaae:localhost]

2023-07-09 22:30:22 | [Mutex] received everything.

2023-07-09 22:30:22 | [Mutex] isItemNotified: received:node:6654b1b9-66cb-4092-a180-843bc4fafaae:localhost:node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039:Node 4b6119e6-59ad-4cc3-aac9-e1ebc25a2039 :: false

2023-07-09 22:30:22 | [Mutex] waiting for: [received:nodes:cb1e6f7f-8713-4bb0-9bdc-255bf319a8f4:localhost]

2023-07-09 22:30:22 | [Mutex] received everything.

2023-07-09 22:30:22 | [Mutex] isItemNotified: received:node:cb1e6f7f-8713-4bb0-9bdc-255bf319a8f4:localhost:node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039:Node 4b6119e6-59ad-4cc3-aac9-e1ebc25a2039 :: false

publishItemsToNodes 0.218s
2023-07-09 22:30:19 |

2023-07-09 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:19 | ------------------------------------

2023-07-09 22:30:19 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</node><item-id>item-e1e03863-799c-4842-84a1-d652ce5bda04</item-id><entry><test>item-e1e03863-799c-4842-84a1-d652ce5bda04</test></entry></data>

2023-07-09 22:30:19 | 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-e1e03863-799c-4842-84a1-d652ce5bda04</value></item-id></result>

2023-07-09 22:30:19 | [Mutex] waiting for: [published:item:notifieditem-e1e03863-799c-4842-84a1-d652ce5bda04:admin@test-domain.com]

2023-07-09 22:30:19 | [Mutex] received everything.

2023-07-09 22:30:19 | [Mutex] isItemNotified: published:item:notifieditem-e1e03863-799c-4842-84a1-d652ce5bda04:admin@test-domain.com :: true

retractItemsFromNodes 0.251s
2023-07-09 22:30:20 |

2023-07-09 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:20 | ------------------------------------

2023-07-09 22:30:20 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</node><item-id>item-e1e03863-799c-4842-84a1-d652ce5bda04</item-id></data>

2023-07-09 22:30:20 | 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-e1e03863-799c-4842-84a1-d652ce5bda04</value></item-id></result>

2023-07-09 22:30:20 | [Mutex] received everything.

2023-07-09 22:30:20 | [Mutex] isItemNotified: retracted:item:notifieditem-e1e03863-799c-4842-84a1-d652ce5bda04:admin@test-domain.com :: true

retrieveItemsFromNodes 0.309s
2023-07-09 22:30:19 |

2023-07-09 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:19 | ------------------------------------

2023-07-09 22:30:19 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</node><item-id>item-e1e03863-799c-4842-84a1-d652ce5bda04</item-id></data>

2023-07-09 22:30:19 | 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-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</value></node><item-id type="text-single" label="Item ID"><value>item-e1e03863-799c-4842-84a1-d652ce5bda04</value></item-id><item type="text-multi" label="Item"><value><item id="item-e1e03863-799c-4842-84a1-d652ce5bda04"><test>item-e1e03863-799c-4842-84a1-d652ce5bda04</test></item></value></item></result>

2023-07-09 22:30:19 | [Mutex] notify: [retrieved:item:item-e1e03863-799c-4842-84a1-d652ce5bda04:payload-matches:true:localhost]

2023-07-09 22:30:19 | [Mutex] received everything.

2023-07-09 22:30:19 | [Mutex] isItemNotified: retrieved:item:item-e1e03863-799c-4842-84a1-d652ce5bda04:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2023-07-09 22:30:19 |

2023-07-09 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:19 | ------------------------------------

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

2023-07-09 22:30:19 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-e50b34f1-9495-44e6-b7cd-0c7c2dbd1eec</value><value>test</value><value>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2023-07-09 22:30:19 |

2023-07-09 22:30:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:19 | ------------------------------------

2023-07-09 22:30:19 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039)</node-pattern></data>

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

subscribeNodes 1.111s
2023-07-09 22:30:18 |

2023-07-09 22:30:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:18 | ------------------------------------

2023-07-09 22:30:18 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.200s
2023-07-09 22:30:20 |

2023-07-09 22:30:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2023-07-09 22:30:20 | ------------------------------------

2023-07-09 22:30:20 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-4b6119e6-59ad-4cc3-aac9-e1ebc25a2039</node><jids><value>admin@test-domain.com</value></jids></data>

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