Generated by TestNG with ReportNG at 22:21 PDT on Wednesday 13 April 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.716s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-04-13 22:34:59 |

2022-04-13 22:34:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:34:59 | ------------------------------------

2022-04-13 22:34:59 | [Mutex] waiting for: [configured:node:node-8db1a28c-1c33-4675-9543-c867bcb64ec3:node-aa067a37-247e-4c90-941f-34f229ddcc9c]

2022-04-13 22:34:59 | [Mutex] received everything.

2022-04-13 22:34:59 | [Mutex] isItemNotified: configured:node:node-8db1a28c-1c33-4675-9543-c867bcb64ec3:node-aa067a37-247e-4c90-941f-34f229ddcc9c :: true

2022-04-13 22:35:00 | [Mutex] waiting for: [received:nodes:1484c74a-5ecd-45ed-9808-24a285db65c6:localhost]

2022-04-13 22:35:00 | [Mutex] received everything.

2022-04-13 22:35:00 | [Mutex] isItemNotified: received:node:1484c74a-5ecd-45ed-9808-24a285db65c6:localhost:node-8db1a28c-1c33-4675-9543-c867bcb64ec3:Node 8db1a28c-1c33-4675-9543-c867bcb64ec3 :: true

2022-04-13 22:35:00 | [Mutex] waiting for: [received:nodes:a630cb65-ed36-44ff-b039-3ce028dc2dc8:localhost]

2022-04-13 22:35:00 | [Mutex] received everything.

2022-04-13 22:35:00 | [Mutex] isItemNotified: received:node:a630cb65-ed36-44ff-b039-3ce028dc2dc8:localhost:node-8db1a28c-1c33-4675-9543-c867bcb64ec3:Node 8db1a28c-1c33-4675-9543-c867bcb64ec3 :: false

createNodes 1.503s
2022-04-13 22:34:56 |

2022-04-13 22:34:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:34:56 | ------------------------------------

2022-04-13 22:34:56 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8db1a28c-1c33-4675-9543-c867bcb64ec3</title></pubsub></data>

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

2022-04-13 22:34:57 | [Mutex] waiting for: [received:nodes:d5271c33-1825-4445-9712-e220c7bce780:localhost]

2022-04-13 22:34:58 | [Mutex] received everything.

2022-04-13 22:34:58 | [Mutex] isItemNotified: received:node:d5271c33-1825-4445-9712-e220c7bce780:localhost:node-8db1a28c-1c33-4675-9543-c867bcb64ec3:Node 8db1a28c-1c33-4675-9543-c867bcb64ec3 :: true

createSubnodes 1.023s
2022-04-13 22:34:58 |

2022-04-13 22:34:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:34:58 | ------------------------------------

2022-04-13 22:34:58 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-aa067a37-247e-4c90-941f-34f229ddcc9c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node aa067a37-247e-4c90-941f-34f229ddcc9c</title></pubsub></data>

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

2022-04-13 22:34:59 | [Mutex] waiting for: [received:nodes:f295609d-380b-4639-8ab1-34500ed82aca:localhost]

2022-04-13 22:34:59 | [Mutex] received everything.

2022-04-13 22:34:59 | [Mutex] isItemNotified: received:node:f295609d-380b-4639-8ab1-34500ed82aca:localhost:node-aa067a37-247e-4c90-941f-34f229ddcc9c:Node aa067a37-247e-4c90-941f-34f229ddcc9c :: true

deleteNodes 1.018s
2022-04-13 22:35:04 |

2022-04-13 22:35:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:35:04 | ------------------------------------

2022-04-13 22:35:04 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-aa067a37-247e-4c90-941f-34f229ddcc9c</node></data>

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

2022-04-13 22:35:05 | [Mutex] waiting for: [received:nodes:80d58415-2b01-4202-9667-92d94980a70a:localhost]

2022-04-13 22:35:05 | [Mutex] waiting for: [received:nodes:80d58415-2b01-4202-9667-92d94980a70a:localhost]

2022-04-13 22:35:05 | [Mutex] received everything.

2022-04-13 22:35:05 | [Mutex] isItemNotified: received:node:80d58415-2b01-4202-9667-92d94980a70a:localhost:node-aa067a37-247e-4c90-941f-34f229ddcc9c:Node aa067a37-247e-4c90-941f-34f229ddcc9c :: false

deleteSubnodes 1.121s
2022-04-13 22:35:03 |

2022-04-13 22:35:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:35:03 | ------------------------------------

2022-04-13 22:35:03 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</node></data>

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

2022-04-13 22:35:04 | [Mutex] waiting for: [received:nodes:caae1dae-28e9-41da-9e98-9463ef6c46f7:localhost]

2022-04-13 22:35:04 | [Mutex] received everything.

2022-04-13 22:35:04 | [Mutex] isItemNotified: received:node:caae1dae-28e9-41da-9e98-9463ef6c46f7:localhost:node-8db1a28c-1c33-4675-9543-c867bcb64ec3:Node 8db1a28c-1c33-4675-9543-c867bcb64ec3 :: false

2022-04-13 22:35:04 | [Mutex] waiting for: [received:nodes:cffe92ff-06c0-4c1d-b835-695e7a96aadc:localhost]

2022-04-13 22:35:04 | [Mutex] received everything.

2022-04-13 22:35:04 | [Mutex] isItemNotified: received:node:cffe92ff-06c0-4c1d-b835-695e7a96aadc:localhost:node-8db1a28c-1c33-4675-9543-c867bcb64ec3:Node 8db1a28c-1c33-4675-9543-c867bcb64ec3 :: false

publishItemsToNodes 0.235s
2022-04-13 22:35:01 |

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

2022-04-13 22:35:01 | ------------------------------------

2022-04-13 22:35:01 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</node><item-id>item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</item-id><entry><test>item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</test></entry></data>

2022-04-13 22:35: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-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</value></item-id></result>

2022-04-13 22:35:01 | [Mutex] waiting for: [published:item:notifieditem-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2:admin@test-domain.com]

2022-04-13 22:35:01 | [Mutex] received everything.

2022-04-13 22:35:01 | [Mutex] isItemNotified: published:item:notifieditem-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2:admin@test-domain.com :: true

retractItemsFromNodes 0.326s
2022-04-13 22:35:01 |

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

2022-04-13 22:35:01 | ------------------------------------

2022-04-13 22:35:01 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</node><item-id>item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</item-id></data>

2022-04-13 22:35:02 | 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-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</value></item-id></result>

2022-04-13 22:35:02 | [Mutex] waiting for: [retracted:item:notifieditem-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2:admin@test-domain.com]

2022-04-13 22:35:02 | [Mutex] received everything.

2022-04-13 22:35:02 | [Mutex] isItemNotified: retracted:item:notifieditem-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2:admin@test-domain.com :: true

retrieveItemsFromNodes 0.213s
2022-04-13 22:35:01 |

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

2022-04-13 22:35:01 | ------------------------------------

2022-04-13 22:35:01 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</node><item-id>item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</item-id></data>

2022-04-13 22:35: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-8db1a28c-1c33-4675-9543-c867bcb64ec3</value></node><item-id label="Item ID" type="text-single"><value>item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</value></item-id><item label="Item" type="text-multi"><value><item id="item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2"><test>item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2</test></item></value></item></result>

2022-04-13 22:35:01 | [Mutex] notify: [retrieved:item:item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2:payload-matches:true:localhost]

2022-04-13 22:35:01 | [Mutex] received everything.

2022-04-13 22:35:01 | [Mutex] isItemNotified: retrieved:item:item-5522f6b6-3e8d-41bc-b6df-cf06e7c925d2:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2022-04-13 22:35:01 |

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

2022-04-13 22:35:01 | ------------------------------------

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

2022-04-13 22:35:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-aa067a37-247e-4c90-941f-34f229ddcc9c</value><value>test</value><value>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-04-13 22:35:01 |

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

2022-04-13 22:35:01 | ------------------------------------

2022-04-13 22:35: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-8db1a28c-1c33-4675-9543-c867bcb64ec3)</node-pattern></data>

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

subscribeNodes 1.106s
2022-04-13 22:35:00 |

2022-04-13 22:35:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:35:00 | ------------------------------------

2022-04-13 22:35:00 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-13 22:35: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.204s
2022-04-13 22:35:02 |

2022-04-13 22:35:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-04-13 22:35:02 | ------------------------------------

2022-04-13 22:35:02 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8db1a28c-1c33-4675-9543-c867bcb64ec3</node><jids><value>admin@test-domain.com</value></jids></data>

2022-04-13 22:35:02 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>