Generated by TestNG with ReportNG at 22:17 PDT on Sunday 03 July 2022
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.578s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-07-03 22:32:43 |

2022-07-03 22:32:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:43 | ------------------------------------

2022-07-03 22:32:43 | [Mutex] waiting for: [configured:node:node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7:node-d9e85974-3d13-4d3d-b573-e65adec4e0b4]

2022-07-03 22:32:43 | [Mutex] received everything.

2022-07-03 22:32:43 | [Mutex] isItemNotified: configured:node:node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7:node-d9e85974-3d13-4d3d-b573-e65adec4e0b4 :: true

2022-07-03 22:32:44 | [Mutex] waiting for: [received:nodes:21fd55fb-826a-4510-aaa2-870a34d5fb1e:localhost]

2022-07-03 22:32:44 | [Mutex] received everything.

2022-07-03 22:32:44 | [Mutex] isItemNotified: received:node:21fd55fb-826a-4510-aaa2-870a34d5fb1e:localhost:node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7:Node c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7 :: true

2022-07-03 22:32:44 | [Mutex] waiting for: [received:nodes:61f116cb-42a3-4a4f-b428-3e542581012a:localhost]

2022-07-03 22:32:44 | [Mutex] received everything.

2022-07-03 22:32:44 | [Mutex] isItemNotified: received:node:61f116cb-42a3-4a4f-b428-3e542581012a:localhost:node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7:Node c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7 :: false

createNodes 1.478s
2022-07-03 22:32:40 |

2022-07-03 22:32:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:40 | ------------------------------------

2022-07-03 22:32:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</title></pubsub></data>

2022-07-03 22:32:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-03 22:32:42 | [Mutex] waiting for: [received:nodes:451279b4-4b32-4fea-bb62-385f7fecd5c5:localhost]

2022-07-03 22:32:42 | [Mutex] received everything.

2022-07-03 22:32:42 | [Mutex] isItemNotified: received:node:451279b4-4b32-4fea-bb62-385f7fecd5c5:localhost:node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7:Node c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7 :: true

createSubnodes 1.021s
2022-07-03 22:32:42 |

2022-07-03 22:32:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:42 | ------------------------------------

2022-07-03 22:32:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-d9e85974-3d13-4d3d-b573-e65adec4e0b4</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d9e85974-3d13-4d3d-b573-e65adec4e0b4</title></pubsub></data>

2022-07-03 22:32:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-03 22:32:43 | [Mutex] waiting for: [received:nodes:98d85bcb-9856-4e23-8dbf-5013cca1a916:localhost]

2022-07-03 22:32:43 | [Mutex] received everything.

2022-07-03 22:32:43 | [Mutex] isItemNotified: received:node:98d85bcb-9856-4e23-8dbf-5013cca1a916:localhost:node-d9e85974-3d13-4d3d-b573-e65adec4e0b4:Node d9e85974-3d13-4d3d-b573-e65adec4e0b4 :: true

deleteNodes 1.020s
2022-07-03 22:32:48 |

2022-07-03 22:32:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:48 | ------------------------------------

2022-07-03 22:32:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-d9e85974-3d13-4d3d-b573-e65adec4e0b4</node></data>

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

2022-07-03 22:32:49 | [Mutex] waiting for: [received:nodes:e7e1385c-ee0c-46bd-8414-bb63c74c6a8b:localhost]

2022-07-03 22:32:49 | [Mutex] received everything.

2022-07-03 22:32:49 | [Mutex] isItemNotified: received:node:e7e1385c-ee0c-46bd-8414-bb63c74c6a8b:localhost:node-d9e85974-3d13-4d3d-b573-e65adec4e0b4:Node d9e85974-3d13-4d3d-b573-e65adec4e0b4 :: false

deleteSubnodes 1.131s
2022-07-03 22:32:47 |

2022-07-03 22:32:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:47 | ------------------------------------

2022-07-03 22:32:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</node></data>

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

2022-07-03 22:32:48 | [Mutex] waiting for: [received:nodes:9deac74d-5630-4849-a0f0-4ff5b12a3888:localhost]

2022-07-03 22:32:48 | [Mutex] received everything.

2022-07-03 22:32:48 | [Mutex] isItemNotified: received:node:9deac74d-5630-4849-a0f0-4ff5b12a3888:localhost:node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7:Node c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7 :: false

2022-07-03 22:32:48 | [Mutex] waiting for: [received:nodes:fd35cf09-f7f9-409b-adc6-0f7929f92551:localhost]

2022-07-03 22:32:48 | [Mutex] received everything.

2022-07-03 22:32:48 | [Mutex] isItemNotified: received:node:fd35cf09-f7f9-409b-adc6-0f7929f92551:localhost:node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7:Node c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7 :: false

publishItemsToNodes 0.210s
2022-07-03 22:32:45 |

2022-07-03 22:32:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:45 | ------------------------------------

2022-07-03 22:32:45 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</node><item-id>item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</item-id><entry><test>item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</test></entry></data>

2022-07-03 22:32:45 | 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-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</value></item-id></result>

2022-07-03 22:32:45 | [Mutex] waiting for: [published:item:notifieditem-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161:admin@test-domain.com]

2022-07-03 22:32:45 | [Mutex] received everything.

2022-07-03 22:32:45 | [Mutex] isItemNotified: published:item:notifieditem-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161:admin@test-domain.com :: true

retractItemsFromNodes 0.314s
2022-07-03 22:32:46 |

2022-07-03 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:46 | ------------------------------------

2022-07-03 22:32:46 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</node><item-id>item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</item-id></data>

2022-07-03 22:32:46 | 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-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</value></item-id></result>

2022-07-03 22:32:46 | [Mutex] waiting for: [retracted:item:notifieditem-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161:admin@test-domain.com]

2022-07-03 22:32:46 | [Mutex] received everything.

2022-07-03 22:32:46 | [Mutex] isItemNotified: retracted:item:notifieditem-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161:admin@test-domain.com :: true

retrieveItemsFromNodes 0.219s
2022-07-03 22:32:45 |

2022-07-03 22:32:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:45 | ------------------------------------

2022-07-03 22:32:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</node><item-id>item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</item-id></data>

2022-07-03 22:32:46 | 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-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</value></node><item-id type="text-single" label="Item ID"><value>item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</value></item-id><item type="text-multi" label="Item"><value><item id="item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161"><test>item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161</test></item></value></item></result>

2022-07-03 22:32:46 | [Mutex] notify: [retrieved:item:item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161:payload-matches:true:localhost]

2022-07-03 22:32:46 | [Mutex] received everything.

2022-07-03 22:32:46 | [Mutex] isItemNotified: retrieved:item:item-4dc411ed-84d4-4e54-9dd3-5f9dd63c3161:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.049s
2022-07-03 22:32:46 |

2022-07-03 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:46 | ------------------------------------

2022-07-03 22:32:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-03 22:32:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</value><value>node-d9e85974-3d13-4d3d-b573-e65adec4e0b4</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2022-07-03 22:32:46 |

2022-07-03 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:46 | ------------------------------------

2022-07-03 22:32:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7)</node-pattern></data>

2022-07-03 22:32:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.112s
2022-07-03 22:32:44 |

2022-07-03 22:32:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:44 | ------------------------------------

2022-07-03 22:32:44 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-03 22:32:44 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.176s
2022-07-03 22:32:46 |

2022-07-03 22:32:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-03 22:32:46 | ------------------------------------

2022-07-03 22:32:46 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c9578e8b-47ef-4459-9eab-3e4aeb1ca0a7</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-03 22:32:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>