Generated by TestNG with ReportNG at 22:31 PDT on Friday 01 July 2022
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.464s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.111s
2022-07-01 22:46:15 |

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

2022-07-01 22:46:15 | ------------------------------------

2022-07-01 22:46:15 | [Mutex] waiting for: [configured:node:node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60:node-4c538e43-f84a-4fc2-9835-77c71deaf3a0]

2022-07-01 22:46:15 | [Mutex] received everything.

2022-07-01 22:46:15 | [Mutex] isItemNotified: configured:node:node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60:node-4c538e43-f84a-4fc2-9835-77c71deaf3a0 :: true

2022-07-01 22:46:16 | [Mutex] waiting for: [received:nodes:572ed8d0-4cfc-4a6e-83ed-4ad402087bcf:localhost]

2022-07-01 22:46:16 | [Mutex] received everything.

2022-07-01 22:46:16 | [Mutex] isItemNotified: received:node:572ed8d0-4cfc-4a6e-83ed-4ad402087bcf:localhost:node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60:Node 5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60 :: true

2022-07-01 22:46:16 | [Mutex] waiting for: [received:nodes:f05848f2-eef3-45cf-957f-be6925366739:localhost]

2022-07-01 22:46:16 | [Mutex] waiting for: [received:nodes:f05848f2-eef3-45cf-957f-be6925366739:localhost]

2022-07-01 22:46:16 | [Mutex] received everything.

2022-07-01 22:46:16 | [Mutex] isItemNotified: received:node:f05848f2-eef3-45cf-957f-be6925366739:localhost:node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60:Node 5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60 :: false

createNodes 1.463s
2022-07-01 22:46:13 |

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

2022-07-01 22:46:13 | ------------------------------------

2022-07-01 22:46:13 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</title></pubsub></data>

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

2022-07-01 22:46:14 | [Mutex] waiting for: [received:nodes:269852df-c427-4613-aa5e-67c7b76a0fd2:localhost]

2022-07-01 22:46:14 | [Mutex] received everything.

2022-07-01 22:46:14 | [Mutex] isItemNotified: received:node:269852df-c427-4613-aa5e-67c7b76a0fd2:localhost:node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60:Node 5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60 :: true

createSubnodes 1.032s
2022-07-01 22:46:14 |

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

2022-07-01 22:46:14 | ------------------------------------

2022-07-01 22:46:14 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-4c538e43-f84a-4fc2-9835-77c71deaf3a0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 4c538e43-f84a-4fc2-9835-77c71deaf3a0</title></pubsub></data>

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

2022-07-01 22:46:15 | [Mutex] waiting for: [received:nodes:e844a4df-741b-428a-9b80-d21fdc045231:localhost]

2022-07-01 22:46:15 | [Mutex] received everything.

2022-07-01 22:46:15 | [Mutex] isItemNotified: received:node:e844a4df-741b-428a-9b80-d21fdc045231:localhost:node-4c538e43-f84a-4fc2-9835-77c71deaf3a0:Node 4c538e43-f84a-4fc2-9835-77c71deaf3a0 :: true

deleteNodes 1.022s
2022-07-01 22:46:21 |

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

2022-07-01 22:46:21 | ------------------------------------

2022-07-01 22:46:21 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-4c538e43-f84a-4fc2-9835-77c71deaf3a0</node></data>

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

2022-07-01 22:46:22 | [Mutex] waiting for: [received:nodes:49b32753-f976-4d57-b84e-62d6ec7b62db:localhost]

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

2022-07-01 22:46:22 | [Mutex] isItemNotified: received:node:49b32753-f976-4d57-b84e-62d6ec7b62db:localhost:node-4c538e43-f84a-4fc2-9835-77c71deaf3a0:Node 4c538e43-f84a-4fc2-9835-77c71deaf3a0 :: false

deleteSubnodes 1.108s
2022-07-01 22:46:19 |

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

2022-07-01 22:46:19 | ------------------------------------

2022-07-01 22:46:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</node></data>

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

2022-07-01 22:46:21 | [Mutex] waiting for: [received:nodes:8cc7bc0a-6f5b-4db3-9b13-af0969a45421:localhost]

2022-07-01 22:46:21 | [Mutex] received everything.

2022-07-01 22:46:21 | [Mutex] isItemNotified: received:node:8cc7bc0a-6f5b-4db3-9b13-af0969a45421:localhost:node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60:Node 5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60 :: false

2022-07-01 22:46:21 | [Mutex] waiting for: [received:nodes:7690981f-4baa-4424-aecb-45d0da4b0f52:localhost]

2022-07-01 22:46:21 | [Mutex] received everything.

2022-07-01 22:46:21 | [Mutex] isItemNotified: received:node:7690981f-4baa-4424-aecb-45d0da4b0f52:localhost:node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60:Node 5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60 :: false

publishItemsToNodes 0.193s
2022-07-01 22:46:18 |

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

2022-07-01 22:46:18 | ------------------------------------

2022-07-01 22:46:18 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</node><item-id>item-031671b0-149a-45f1-8da2-f9a6f155f079</item-id><entry><test>item-031671b0-149a-45f1-8da2-f9a6f155f079</test></entry></data>

2022-07-01 22:46:18 | 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-031671b0-149a-45f1-8da2-f9a6f155f079</value></item-id></result>

2022-07-01 22:46:18 | [Mutex] received everything.

2022-07-01 22:46:18 | [Mutex] isItemNotified: published:item:notifieditem-031671b0-149a-45f1-8da2-f9a6f155f079:admin@test-domain.com :: true

retractItemsFromNodes 0.197s
2022-07-01 22:46:18 |

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

2022-07-01 22:46:18 | ------------------------------------

2022-07-01 22:46:18 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</node><item-id>item-031671b0-149a-45f1-8da2-f9a6f155f079</item-id></data>

2022-07-01 22:46:18 | 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-031671b0-149a-45f1-8da2-f9a6f155f079</value></item-id></result>

2022-07-01 22:46:18 | [Mutex] waiting for: [retracted:item:notifieditem-031671b0-149a-45f1-8da2-f9a6f155f079:admin@test-domain.com]

2022-07-01 22:46:18 | [Mutex] received everything.

2022-07-01 22:46:18 | [Mutex] isItemNotified: retracted:item:notifieditem-031671b0-149a-45f1-8da2-f9a6f155f079:admin@test-domain.com :: true

retrieveItemsFromNodes 0.187s
2022-07-01 22:46:18 |

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

2022-07-01 22:46:18 | ------------------------------------

2022-07-01 22:46:18 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</node><item-id>item-031671b0-149a-45f1-8da2-f9a6f155f079</item-id></data>

2022-07-01 22:46:18 | 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-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</value></node><item-id type="text-single" label="Item ID"><value>item-031671b0-149a-45f1-8da2-f9a6f155f079</value></item-id><item type="text-multi" label="Item"><value><item id="item-031671b0-149a-45f1-8da2-f9a6f155f079"><test>item-031671b0-149a-45f1-8da2-f9a6f155f079</test></item></value></item></result>

2022-07-01 22:46:18 | [Mutex] notify: [retrieved:item:item-031671b0-149a-45f1-8da2-f9a6f155f079:payload-matches:true:localhost]

2022-07-01 22:46:18 | [Mutex] received everything.

2022-07-01 22:46:18 | [Mutex] isItemNotified: retrieved:item:item-031671b0-149a-45f1-8da2-f9a6f155f079:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-01 22:46:18 |

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

2022-07-01 22:46:18 | ------------------------------------

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

2022-07-01 22:46:18 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</value><value>node-4c538e43-f84a-4fc2-9835-77c71deaf3a0</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.053s
2022-07-01 22:46:18 |

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

2022-07-01 22:46:18 | ------------------------------------

2022-07-01 22:46:18 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60)</node-pattern></data>

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

subscribeNodes 1.171s
2022-07-01 22:46:16 |

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

2022-07-01 22:46:16 | ------------------------------------

2022-07-01 22:46:16 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</node><jids><value>admin@test-domain.com</value></jids></data>

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

unsubscribeNodes 1.249s
2022-07-01 22:46:18 |

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

2022-07-01 22:46:18 | ------------------------------------

2022-07-01 22:46:18 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-5bb072aa-66a9-43d2-b4c0-2e4ac73b2a60</node><jids><value>admin@test-domain.com</value></jids></data>

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