Generated by TestNG with ReportNG at 21:42 PST on Wednesday 11 November 2020
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.051s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.123s
2020-11-11 21:58:31 |

2020-11-11 21:58:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:31 | ------------------------------------

2020-11-11 21:58:31 | [Mutex] waiting for: [configured:node:node-05ea56f4-5d81-42c6-be44-67cbff0ad901:node-5d7e5536-36fd-4222-b6b8-d0b8fd9be505]

2020-11-11 21:58:31 | [Mutex] received everything.

2020-11-11 21:58:31 | [Mutex] isItemNotified: configured:node:node-05ea56f4-5d81-42c6-be44-67cbff0ad901:node-5d7e5536-36fd-4222-b6b8-d0b8fd9be505 :: true

2020-11-11 21:58:32 | [Mutex] waiting for: [received:nodes:ab63b6d0-18c9-4dd7-a8fb-e83ad4dbcd70:localhost]

2020-11-11 21:58:32 | [Mutex] received everything.

2020-11-11 21:58:32 | [Mutex] isItemNotified: received:node:ab63b6d0-18c9-4dd7-a8fb-e83ad4dbcd70:localhost:node-05ea56f4-5d81-42c6-be44-67cbff0ad901:Node 05ea56f4-5d81-42c6-be44-67cbff0ad901 :: true

2020-11-11 21:58:32 | [Mutex] waiting for: [received:nodes:29e05488-e1a5-43ef-b5e9-63a85df61999:localhost]

2020-11-11 21:58:32 | [Mutex] received everything.

2020-11-11 21:58:32 | [Mutex] isItemNotified: received:node:29e05488-e1a5-43ef-b5e9-63a85df61999:localhost:node-05ea56f4-5d81-42c6-be44-67cbff0ad901:Node 05ea56f4-5d81-42c6-be44-67cbff0ad901 :: false

createNodes 1.419s
2020-11-11 21:58:29 |

2020-11-11 21:58:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:29 | ------------------------------------

2020-11-11 21:58:29 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 05ea56f4-5d81-42c6-be44-67cbff0ad901</title></pubsub></data>

2020-11-11 21:58:29 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:58:30 | [Mutex] waiting for: [received:nodes:287ee61d-7215-4172-90fb-51b5351567c1:localhost]

2020-11-11 21:58:30 | [Mutex] waiting for: [received:nodes:287ee61d-7215-4172-90fb-51b5351567c1:localhost]

2020-11-11 21:58:30 | [Mutex] received everything.

2020-11-11 21:58:30 | [Mutex] isItemNotified: received:node:287ee61d-7215-4172-90fb-51b5351567c1:localhost:node-05ea56f4-5d81-42c6-be44-67cbff0ad901:Node 05ea56f4-5d81-42c6-be44-67cbff0ad901 :: true

createSubnodes 1.025s
2020-11-11 21:58:30 |

2020-11-11 21:58:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:30 | ------------------------------------

2020-11-11 21:58:30 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-5d7e5536-36fd-4222-b6b8-d0b8fd9be505</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 5d7e5536-36fd-4222-b6b8-d0b8fd9be505</title></pubsub></data>

2020-11-11 21:58:30 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:58:31 | [Mutex] waiting for: [received:nodes:b6f13953-5049-45c0-a488-4fed8b4a308e:localhost]

2020-11-11 21:58:31 | [Mutex] received everything.

2020-11-11 21:58:31 | [Mutex] isItemNotified: received:node:b6f13953-5049-45c0-a488-4fed8b4a308e:localhost:node-5d7e5536-36fd-4222-b6b8-d0b8fd9be505:Node 5d7e5536-36fd-4222-b6b8-d0b8fd9be505 :: true

deleteNodes 1.027s
2020-11-11 21:58:37 |

2020-11-11 21:58:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:37 | ------------------------------------

2020-11-11 21:58:37 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-5d7e5536-36fd-4222-b6b8-d0b8fd9be505</node></data>

2020-11-11 21:58:37 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:58:38 | [Mutex] waiting for: [received:nodes:495e9bac-78c9-438e-80e7-dfe7a85cf766:localhost]

2020-11-11 21:58:38 | [Mutex] waiting for: [received:nodes:495e9bac-78c9-438e-80e7-dfe7a85cf766:localhost]

2020-11-11 21:58:38 | [Mutex] received everything.

2020-11-11 21:58:38 | [Mutex] isItemNotified: received:node:495e9bac-78c9-438e-80e7-dfe7a85cf766:localhost:node-5d7e5536-36fd-4222-b6b8-d0b8fd9be505:Node 5d7e5536-36fd-4222-b6b8-d0b8fd9be505 :: false

deleteSubnodes 1.109s
2020-11-11 21:58:35 |

2020-11-11 21:58:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:35 | ------------------------------------

2020-11-11 21:58:35 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</node></data>

2020-11-11 21:58:35 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-11-11 21:58:36 | [Mutex] waiting for: [received:nodes:8098496a-811e-4d61-8d0e-e18d4e96ce4f:localhost]

2020-11-11 21:58:37 | [Mutex] received everything.

2020-11-11 21:58:37 | [Mutex] isItemNotified: received:node:8098496a-811e-4d61-8d0e-e18d4e96ce4f:localhost:node-05ea56f4-5d81-42c6-be44-67cbff0ad901:Node 05ea56f4-5d81-42c6-be44-67cbff0ad901 :: false

2020-11-11 21:58:37 | [Mutex] waiting for: [received:nodes:5c3ebdc5-fcbd-4041-9b5b-564fb4cf7d8c:localhost]

2020-11-11 21:58:37 | [Mutex] received everything.

2020-11-11 21:58:37 | [Mutex] isItemNotified: received:node:5c3ebdc5-fcbd-4041-9b5b-564fb4cf7d8c:localhost:node-05ea56f4-5d81-42c6-be44-67cbff0ad901:Node 05ea56f4-5d81-42c6-be44-67cbff0ad901 :: false

publishItemsToNodes 0.180s
2020-11-11 21:58:33 |

2020-11-11 21:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:33 | ------------------------------------

2020-11-11 21:58:33 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</node><item-id>item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</item-id><entry><test>item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</test></entry></data>

2020-11-11 21:58:33 | 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-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</value></item-id></result>

2020-11-11 21:58:33 | [Mutex] received everything.

2020-11-11 21:58:33 | [Mutex] isItemNotified: published:item:notifieditem-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc:admin@test-domain.com :: true

retractItemsFromNodes 0.298s
2020-11-11 21:58:34 |

2020-11-11 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:34 | ------------------------------------

2020-11-11 21:58:34 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</node><item-id>item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</item-id></data>

2020-11-11 21:58:34 | 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-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</value></item-id></result>

2020-11-11 21:58:34 | [Mutex] received everything.

2020-11-11 21:58:34 | [Mutex] isItemNotified: retracted:item:notifieditem-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc:admin@test-domain.com :: true

retrieveItemsFromNodes 0.279s
2020-11-11 21:58:33 |

2020-11-11 21:58:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:33 | ------------------------------------

2020-11-11 21:58:33 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</node><item-id>item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</item-id></data>

2020-11-11 21:58:34 | 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-05ea56f4-5d81-42c6-be44-67cbff0ad901</value></node><item-id type="text-single" label="Item ID"><value>item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</value></item-id><item type="text-multi" label="Item"><value><item id="item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc"><test>item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc</test></item></value></item></result>

2020-11-11 21:58:34 | [Mutex] notify: [retrieved:item:item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc:payload-matches:true:localhost]

2020-11-11 21:58:34 | [Mutex] received everything.

2020-11-11 21:58:34 | [Mutex] isItemNotified: retrieved:item:item-5fedd7e7-f7ca-49d5-86e9-f93017b4fddc:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-11-11 21:58:34 |

2020-11-11 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:34 | ------------------------------------

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

2020-11-11 21:58:34 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</value><value>test</value><value>node-5d7e5536-36fd-4222-b6b8-d0b8fd9be505</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.058s
2020-11-11 21:58:34 |

2020-11-11 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:34 | ------------------------------------

2020-11-11 21:58:34 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-05ea56f4-5d81-42c6-be44-67cbff0ad901)</node-pattern></data>

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

subscribeNodes 1.118s
2020-11-11 21:58:32 |

2020-11-11 21:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:32 | ------------------------------------

2020-11-11 21:58:32 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</node><jids><value>admin@test-domain.com</value></jids></data>

2020-11-11 21:58:32 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.286s
2020-11-11 21:58:34 |

2020-11-11 21:58:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-11-11 21:58:34 | ------------------------------------

2020-11-11 21:58:34 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-05ea56f4-5d81-42c6-be44-67cbff0ad901</node><jids><value>admin@test-domain.com</value></jids></data>

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