Generated by TestNG with ReportNG at 21:18 PST on Saturday 06 February 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / 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 : 10.073s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.121s
2021-02-06 21:34:41 |

2021-02-06 21:34:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:41 | ------------------------------------

2021-02-06 21:34:41 | [Mutex] waiting for: [configured:node:node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8:node-f7302b7c-2445-40c6-8038-eb77728cd6e1]

2021-02-06 21:34:41 | [Mutex] received everything.

2021-02-06 21:34:41 | [Mutex] isItemNotified: configured:node:node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8:node-f7302b7c-2445-40c6-8038-eb77728cd6e1 :: true

2021-02-06 21:34:42 | [Mutex] waiting for: [received:nodes:a62a01db-5ee0-4b0b-a37b-7348bd3af524:localhost]

2021-02-06 21:34:42 | [Mutex] received everything.

2021-02-06 21:34:42 | [Mutex] isItemNotified: received:node:a62a01db-5ee0-4b0b-a37b-7348bd3af524:localhost:node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8:Node 8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8 :: true

2021-02-06 21:34:42 | [Mutex] waiting for: [received:nodes:50d11776-2278-4afc-8d1f-858cd3556bbe:localhost]

2021-02-06 21:34:42 | [Mutex] waiting for: [received:nodes:50d11776-2278-4afc-8d1f-858cd3556bbe:localhost]

2021-02-06 21:34:42 | [Mutex] received everything.

2021-02-06 21:34:42 | [Mutex] isItemNotified: received:node:50d11776-2278-4afc-8d1f-858cd3556bbe:localhost:node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8:Node 8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8 :: false

createNodes 1.472s
2021-02-06 21:34:38 |

2021-02-06 21:34:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:38 | ------------------------------------

2021-02-06 21:34:38 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</title></pubsub></data>

2021-02-06 21:34:39 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:34:40 | [Mutex] waiting for: [received:nodes:ac95de53-a3a3-4738-81d2-735b63bc1a15:localhost]

2021-02-06 21:34:40 | [Mutex] received everything.

2021-02-06 21:34:40 | [Mutex] isItemNotified: received:node:ac95de53-a3a3-4738-81d2-735b63bc1a15:localhost:node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8:Node 8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8 :: true

createSubnodes 1.022s
2021-02-06 21:34:40 |

2021-02-06 21:34:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:40 | ------------------------------------

2021-02-06 21:34:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-f7302b7c-2445-40c6-8038-eb77728cd6e1</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f7302b7c-2445-40c6-8038-eb77728cd6e1</title></pubsub></data>

2021-02-06 21:34:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:34:41 | [Mutex] waiting for: [received:nodes:2399300b-669a-4d97-89d5-bc1170a6e2ea:localhost]

2021-02-06 21:34:41 | [Mutex] received everything.

2021-02-06 21:34:41 | [Mutex] isItemNotified: received:node:2399300b-669a-4d97-89d5-bc1170a6e2ea:localhost:node-f7302b7c-2445-40c6-8038-eb77728cd6e1:Node f7302b7c-2445-40c6-8038-eb77728cd6e1 :: true

deleteNodes 1.023s
2021-02-06 21:34:46 |

2021-02-06 21:34:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:46 | ------------------------------------

2021-02-06 21:34:46 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-f7302b7c-2445-40c6-8038-eb77728cd6e1</node></data>

2021-02-06 21:34:46 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:34:47 | [Mutex] waiting for: [received:nodes:e9b81dfe-c1e5-46cc-8d40-fa16ef0f864e:localhost]

2021-02-06 21:34:47 | [Mutex] waiting for: [received:nodes:e9b81dfe-c1e5-46cc-8d40-fa16ef0f864e:localhost]

2021-02-06 21:34:47 | [Mutex] received everything.

2021-02-06 21:34:47 | [Mutex] isItemNotified: received:node:e9b81dfe-c1e5-46cc-8d40-fa16ef0f864e:localhost:node-f7302b7c-2445-40c6-8038-eb77728cd6e1:Node f7302b7c-2445-40c6-8038-eb77728cd6e1 :: false

deleteSubnodes 1.126s
2021-02-06 21:34:45 |

2021-02-06 21:34:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:45 | ------------------------------------

2021-02-06 21:34:45 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</node></data>

2021-02-06 21:34:45 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-02-06 21:34:46 | [Mutex] waiting for: [received:nodes:5327b215-67b2-43f4-ad15-fe2fbe4f7833:localhost]

2021-02-06 21:34:46 | [Mutex] received everything.

2021-02-06 21:34:46 | [Mutex] isItemNotified: received:node:5327b215-67b2-43f4-ad15-fe2fbe4f7833:localhost:node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8:Node 8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8 :: false

2021-02-06 21:34:46 | [Mutex] waiting for: [received:nodes:2acc7bfa-60f0-4029-9898-08b9c75ccb16:localhost]

2021-02-06 21:34:46 | [Mutex] received everything.

2021-02-06 21:34:46 | [Mutex] isItemNotified: received:node:2acc7bfa-60f0-4029-9898-08b9c75ccb16:localhost:node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8:Node 8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8 :: false

publishItemsToNodes 0.263s
2021-02-06 21:34:43 |

2021-02-06 21:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:43 | ------------------------------------

2021-02-06 21:34:43 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</node><item-id>item-1b80d2c0-90cc-464e-a6ee-29056c71532f</item-id><entry><test>item-1b80d2c0-90cc-464e-a6ee-29056c71532f</test></entry></data>

2021-02-06 21:34:43 | 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-1b80d2c0-90cc-464e-a6ee-29056c71532f</value></item-id></result>

2021-02-06 21:34:43 | [Mutex] received everything.

2021-02-06 21:34:43 | [Mutex] isItemNotified: published:item:notifieditem-1b80d2c0-90cc-464e-a6ee-29056c71532f:admin@test-domain.com :: true

retractItemsFromNodes 0.227s
2021-02-06 21:34:43 |

2021-02-06 21:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:43 | ------------------------------------

2021-02-06 21:34:43 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</node><item-id>item-1b80d2c0-90cc-464e-a6ee-29056c71532f</item-id></data>

2021-02-06 21:34:44 | 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-1b80d2c0-90cc-464e-a6ee-29056c71532f</value></item-id></result>

2021-02-06 21:34:44 | [Mutex] received everything.

2021-02-06 21:34:44 | [Mutex] isItemNotified: retracted:item:notifieditem-1b80d2c0-90cc-464e-a6ee-29056c71532f:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2021-02-06 21:34:43 |

2021-02-06 21:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:43 | ------------------------------------

2021-02-06 21:34:43 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</node><item-id>item-1b80d2c0-90cc-464e-a6ee-29056c71532f</item-id></data>

2021-02-06 21:34:43 | 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-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</value></node><item-id label="Item ID" type="text-single"><value>item-1b80d2c0-90cc-464e-a6ee-29056c71532f</value></item-id><item label="Item" type="text-multi"><value><item id="item-1b80d2c0-90cc-464e-a6ee-29056c71532f"><test>item-1b80d2c0-90cc-464e-a6ee-29056c71532f</test></item></value></item></result>

2021-02-06 21:34:43 | [Mutex] notify: [retrieved:item:item-1b80d2c0-90cc-464e-a6ee-29056c71532f:payload-matches:true:localhost]

2021-02-06 21:34:43 | [Mutex] received everything.

2021-02-06 21:34:43 | [Mutex] isItemNotified: retrieved:item:item-1b80d2c0-90cc-464e-a6ee-29056c71532f:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.056s
2021-02-06 21:34:43 |

2021-02-06 21:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:43 | ------------------------------------

2021-02-06 21:34:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-02-06 21:34:43 | 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-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</value><value>node-f7302b7c-2445-40c6-8038-eb77728cd6e1</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.056s
2021-02-06 21:34:43 |

2021-02-06 21:34:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:43 | ------------------------------------

2021-02-06 21:34:43 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8)</node-pattern></data>

2021-02-06 21:34:43 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.142s
2021-02-06 21:34:42 |

2021-02-06 21:34:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:42 | ------------------------------------

2021-02-06 21:34:42 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-06 21:34:42 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.271s
2021-02-06 21:34:44 |

2021-02-06 21:34:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-02-06 21:34:44 | ------------------------------------

2021-02-06 21:34:44 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-8167ab10-314c-4c3d-aae1-ac0dbe9ca6d8</node><jids><value>admin@test-domain.com</value></jids></data>

2021-02-06 21:34:44 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>