Generated by TestNG with ReportNG at 22:36 PDT on Tuesday 24 May 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.620s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.094s
2022-05-24 22:48:38 |

2022-05-24 22:48:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:38 | ------------------------------------

2022-05-24 22:48:38 | [Mutex] waiting for: [configured:node:node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69:node-3be990ae-a9ab-462b-a4fe-1a266a414e32]

2022-05-24 22:48:38 | [Mutex] received everything.

2022-05-24 22:48:38 | [Mutex] isItemNotified: configured:node:node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69:node-3be990ae-a9ab-462b-a4fe-1a266a414e32 :: true

2022-05-24 22:48:39 | [Mutex] waiting for: [received:nodes:4caa6de4-c8a5-44b5-8b37-76dc1de86192:localhost]

2022-05-24 22:48:39 | [Mutex] received everything.

2022-05-24 22:48:39 | [Mutex] isItemNotified: received:node:4caa6de4-c8a5-44b5-8b37-76dc1de86192:localhost:node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69:Node 0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69 :: true

2022-05-24 22:48:39 | [Mutex] waiting for: [received:nodes:40241a97-4070-4f35-b768-5a9078fde75e:localhost]

2022-05-24 22:48:39 | [Mutex] received everything.

2022-05-24 22:48:39 | [Mutex] isItemNotified: received:node:40241a97-4070-4f35-b768-5a9078fde75e:localhost:node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69:Node 0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69 :: false

createNodes 1.536s
2022-05-24 22:48:36 |

2022-05-24 22:48:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:36 | ------------------------------------

2022-05-24 22:48:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</title></pubsub></data>

2022-05-24 22:48:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 22:48:37 | [Mutex] waiting for: [received:nodes:d987ecce-c8b2-47b2-bbca-697f55224d4b:localhost]

2022-05-24 22:48:37 | [Mutex] waiting for: [received:nodes:d987ecce-c8b2-47b2-bbca-697f55224d4b:localhost]

2022-05-24 22:48:37 | [Mutex] received everything.

2022-05-24 22:48:37 | [Mutex] isItemNotified: received:node:d987ecce-c8b2-47b2-bbca-697f55224d4b:localhost:node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69:Node 0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69 :: true

createSubnodes 1.024s
2022-05-24 22:48:37 |

2022-05-24 22:48:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:37 | ------------------------------------

2022-05-24 22:48:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3be990ae-a9ab-462b-a4fe-1a266a414e32</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3be990ae-a9ab-462b-a4fe-1a266a414e32</title></pubsub></data>

2022-05-24 22:48:37 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-24 22:48:38 | [Mutex] waiting for: [received:nodes:7db71440-43d4-4fd0-94c9-658cd21a261d:localhost]

2022-05-24 22:48:38 | [Mutex] received everything.

2022-05-24 22:48:38 | [Mutex] isItemNotified: received:node:7db71440-43d4-4fd0-94c9-658cd21a261d:localhost:node-3be990ae-a9ab-462b-a4fe-1a266a414e32:Node 3be990ae-a9ab-462b-a4fe-1a266a414e32 :: true

deleteNodes 1.020s
2022-05-24 22:48:44 |

2022-05-24 22:48:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:44 | ------------------------------------

2022-05-24 22:48:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3be990ae-a9ab-462b-a4fe-1a266a414e32</node></data>

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

2022-05-24 22:48:45 | [Mutex] waiting for: [received:nodes:da7d7ca9-841e-4d8b-aff3-567e9be07a16:localhost]

2022-05-24 22:48:45 | [Mutex] received everything.

2022-05-24 22:48:45 | [Mutex] isItemNotified: received:node:da7d7ca9-841e-4d8b-aff3-567e9be07a16:localhost:node-3be990ae-a9ab-462b-a4fe-1a266a414e32:Node 3be990ae-a9ab-462b-a4fe-1a266a414e32 :: false

deleteSubnodes 1.116s
2022-05-24 22:48:42 |

2022-05-24 22:48:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:42 | ------------------------------------

2022-05-24 22:48:42 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</node></data>

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

2022-05-24 22:48:44 | [Mutex] waiting for: [received:nodes:ad3eca6d-24e2-48c0-91d5-613cada04d06:localhost]

2022-05-24 22:48:44 | [Mutex] received everything.

2022-05-24 22:48:44 | [Mutex] isItemNotified: received:node:ad3eca6d-24e2-48c0-91d5-613cada04d06:localhost:node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69:Node 0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69 :: false

2022-05-24 22:48:44 | [Mutex] waiting for: [received:nodes:463d7438-f4e7-49db-bc03-98f933394088:localhost]

2022-05-24 22:48:44 | [Mutex] received everything.

2022-05-24 22:48:44 | [Mutex] isItemNotified: received:node:463d7438-f4e7-49db-bc03-98f933394088:localhost:node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69:Node 0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69 :: false

publishItemsToNodes 0.204s
2022-05-24 22:48:40 |

2022-05-24 22:48:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:40 | ------------------------------------

2022-05-24 22:48:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</node><item-id>item-09aca982-82bb-4176-a3dd-248d886c0d62</item-id><entry><test>item-09aca982-82bb-4176-a3dd-248d886c0d62</test></entry></data>

2022-05-24 22:48:41 | 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-09aca982-82bb-4176-a3dd-248d886c0d62</value></item-id></result>

2022-05-24 22:48:41 | [Mutex] received everything.

2022-05-24 22:48:41 | [Mutex] isItemNotified: published:item:notifieditem-09aca982-82bb-4176-a3dd-248d886c0d62:admin@test-domain.com :: true

retractItemsFromNodes 0.269s
2022-05-24 22:48:41 |

2022-05-24 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:41 | ------------------------------------

2022-05-24 22:48:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</node><item-id>item-09aca982-82bb-4176-a3dd-248d886c0d62</item-id></data>

2022-05-24 22:48:41 | 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-09aca982-82bb-4176-a3dd-248d886c0d62</value></item-id></result>

2022-05-24 22:48:41 | [Mutex] waiting for: [retracted:item:notifieditem-09aca982-82bb-4176-a3dd-248d886c0d62:admin@test-domain.com]

2022-05-24 22:48:41 | [Mutex] received everything.

2022-05-24 22:48:41 | [Mutex] isItemNotified: retracted:item:notifieditem-09aca982-82bb-4176-a3dd-248d886c0d62:admin@test-domain.com :: true

retrieveItemsFromNodes 0.250s
2022-05-24 22:48:41 |

2022-05-24 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:41 | ------------------------------------

2022-05-24 22:48:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</node><item-id>item-09aca982-82bb-4176-a3dd-248d886c0d62</item-id></data>

2022-05-24 22:48:41 | 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-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</value></node><item-id label="Item ID" type="text-single"><value>item-09aca982-82bb-4176-a3dd-248d886c0d62</value></item-id><item label="Item" type="text-multi"><value><item id="item-09aca982-82bb-4176-a3dd-248d886c0d62"><test>item-09aca982-82bb-4176-a3dd-248d886c0d62</test></item></value></item></result>

2022-05-24 22:48:41 | [Mutex] notify: [retrieved:item:item-09aca982-82bb-4176-a3dd-248d886c0d62:payload-matches:true:localhost]

2022-05-24 22:48:41 | [Mutex] received everything.

2022-05-24 22:48:41 | [Mutex] isItemNotified: retrieved:item:item-09aca982-82bb-4176-a3dd-248d886c0d62:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-05-24 22:48:41 |

2022-05-24 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:41 | ------------------------------------

2022-05-24 22:48:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-24 22:48:41 | 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-3be990ae-a9ab-462b-a4fe-1a266a414e32</value><value>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-24 22:48:41 |

2022-05-24 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:41 | ------------------------------------

2022-05-24 22:48:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69)</node-pattern></data>

2022-05-24 22:48:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.122s
2022-05-24 22:48:39 |

2022-05-24 22:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:39 | ------------------------------------

2022-05-24 22:48:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 22:48:39 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.201s
2022-05-24 22:48:41 |

2022-05-24 22:48:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-24 22:48:41 | ------------------------------------

2022-05-24 22:48:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-0cedbcb2-7210-4a4c-9ecb-d7f9c7611a69</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-24 22:48:41 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>