Generated by TestNG with ReportNG at 06:21 PDT on Wednesday 09 September 2020
root@fe56895ca679 / 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 : 9.790s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.110s
2020-09-09 06:35:44 |

2020-09-09 06:35:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:44 | ------------------------------------

2020-09-09 06:35:44 | [Mutex] waiting for: [configured:node:node-51b2c02b-f54e-4f30-8e8f-edec7a02884e:node-20957e42-9f4b-4553-80c8-67ad65763dbb]

2020-09-09 06:35:44 | [Mutex] received everything.

2020-09-09 06:35:44 | [Mutex] isItemNotified: configured:node:node-51b2c02b-f54e-4f30-8e8f-edec7a02884e:node-20957e42-9f4b-4553-80c8-67ad65763dbb :: true

2020-09-09 06:35:45 | [Mutex] waiting for: [received:nodes:9583729c-6da4-45c4-b98f-88b0b3c7e88f:localhost]

2020-09-09 06:35:45 | [Mutex] received everything.

2020-09-09 06:35:45 | [Mutex] isItemNotified: received:node:9583729c-6da4-45c4-b98f-88b0b3c7e88f:localhost:node-51b2c02b-f54e-4f30-8e8f-edec7a02884e:Node 51b2c02b-f54e-4f30-8e8f-edec7a02884e :: true

2020-09-09 06:35:45 | [Mutex] waiting for: [received:nodes:72d4834d-6fb5-449a-8dc3-559e1b447eea:localhost]

2020-09-09 06:35:45 | [Mutex] received everything.

2020-09-09 06:35:45 | [Mutex] isItemNotified: received:node:72d4834d-6fb5-449a-8dc3-559e1b447eea:localhost:node-51b2c02b-f54e-4f30-8e8f-edec7a02884e:Node 51b2c02b-f54e-4f30-8e8f-edec7a02884e :: false

createNodes 1.414s
2020-09-09 06:35:42 |

2020-09-09 06:35:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:42 | ------------------------------------

2020-09-09 06:35:42 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 51b2c02b-f54e-4f30-8e8f-edec7a02884e</title></pubsub></data>

2020-09-09 06:35:42 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-09 06:35:43 | [Mutex] waiting for: [received:nodes:1266e1de-7216-4cbd-b3dd-9474a8f805fa:localhost]

2020-09-09 06:35:43 | [Mutex] received everything.

2020-09-09 06:35:43 | [Mutex] isItemNotified: received:node:1266e1de-7216-4cbd-b3dd-9474a8f805fa:localhost:node-51b2c02b-f54e-4f30-8e8f-edec7a02884e:Node 51b2c02b-f54e-4f30-8e8f-edec7a02884e :: true

createSubnodes 1.023s
2020-09-09 06:35:43 |

2020-09-09 06:35:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:43 | ------------------------------------

2020-09-09 06:35:43 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-20957e42-9f4b-4553-80c8-67ad65763dbb</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 20957e42-9f4b-4553-80c8-67ad65763dbb</title></pubsub></data>

2020-09-09 06:35:43 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-09-09 06:35:44 | [Mutex] waiting for: [received:nodes:e74c09c0-b0a1-41fd-82a5-935d6bbf5d0d:localhost]

2020-09-09 06:35:44 | [Mutex] waiting for: [received:nodes:e74c09c0-b0a1-41fd-82a5-935d6bbf5d0d:localhost]

2020-09-09 06:35:44 | [Mutex] received everything.

2020-09-09 06:35:44 | [Mutex] isItemNotified: received:node:e74c09c0-b0a1-41fd-82a5-935d6bbf5d0d:localhost:node-20957e42-9f4b-4553-80c8-67ad65763dbb:Node 20957e42-9f4b-4553-80c8-67ad65763dbb :: true

deleteNodes 1.018s
2020-09-09 06:35:50 |

2020-09-09 06:35:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:50 | ------------------------------------

2020-09-09 06:35:50 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-20957e42-9f4b-4553-80c8-67ad65763dbb</node></data>

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

2020-09-09 06:35:51 | [Mutex] waiting for: [received:nodes:dd500008-6ab7-418d-91a0-f04d5e61467e:localhost]

2020-09-09 06:35:51 | [Mutex] received everything.

2020-09-09 06:35:51 | [Mutex] isItemNotified: received:node:dd500008-6ab7-418d-91a0-f04d5e61467e:localhost:node-20957e42-9f4b-4553-80c8-67ad65763dbb:Node 20957e42-9f4b-4553-80c8-67ad65763dbb :: false

deleteSubnodes 1.124s
2020-09-09 06:35:48 |

2020-09-09 06:35:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:48 | ------------------------------------

2020-09-09 06:35:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</node></data>

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

2020-09-09 06:35:50 | [Mutex] waiting for: [received:nodes:e51958bb-b73a-42b4-be4b-19281d538d29:localhost]

2020-09-09 06:35:50 | [Mutex] received everything.

2020-09-09 06:35:50 | [Mutex] isItemNotified: received:node:e51958bb-b73a-42b4-be4b-19281d538d29:localhost:node-51b2c02b-f54e-4f30-8e8f-edec7a02884e:Node 51b2c02b-f54e-4f30-8e8f-edec7a02884e :: false

2020-09-09 06:35:50 | [Mutex] waiting for: [received:nodes:c0689f6e-0a02-4b59-934b-c465dd3eba5d:localhost]

2020-09-09 06:35:50 | [Mutex] received everything.

2020-09-09 06:35:50 | [Mutex] isItemNotified: received:node:c0689f6e-0a02-4b59-934b-c465dd3eba5d:localhost:node-51b2c02b-f54e-4f30-8e8f-edec7a02884e:Node 51b2c02b-f54e-4f30-8e8f-edec7a02884e :: false

publishItemsToNodes 0.248s
2020-09-09 06:35:46 |

2020-09-09 06:35:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:46 | ------------------------------------

2020-09-09 06:35:46 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</node><item-id>item-a5108c7a-3682-4d42-a722-b621fbef2c24</item-id><entry><test>item-a5108c7a-3682-4d42-a722-b621fbef2c24</test></entry></data>

2020-09-09 06:35:47 | 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-a5108c7a-3682-4d42-a722-b621fbef2c24</value></item-id></result>

2020-09-09 06:35:47 | [Mutex] received everything.

2020-09-09 06:35:47 | [Mutex] isItemNotified: published:item:notifieditem-a5108c7a-3682-4d42-a722-b621fbef2c24:admin@test-domain.com :: true

retractItemsFromNodes 0.200s
2020-09-09 06:35:47 |

2020-09-09 06:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:47 | ------------------------------------

2020-09-09 06:35:47 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</node><item-id>item-a5108c7a-3682-4d42-a722-b621fbef2c24</item-id></data>

2020-09-09 06:35:47 | 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-a5108c7a-3682-4d42-a722-b621fbef2c24</value></item-id></result>

2020-09-09 06:35:47 | [Mutex] received everything.

2020-09-09 06:35:47 | [Mutex] isItemNotified: retracted:item:notifieditem-a5108c7a-3682-4d42-a722-b621fbef2c24:admin@test-domain.com :: true

retrieveItemsFromNodes 0.253s
2020-09-09 06:35:47 |

2020-09-09 06:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:47 | ------------------------------------

2020-09-09 06:35:47 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</node><item-id>item-a5108c7a-3682-4d42-a722-b621fbef2c24</item-id></data>

2020-09-09 06:35:47 | 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-51b2c02b-f54e-4f30-8e8f-edec7a02884e</value></node><item-id label="Item ID" type="text-single"><value>item-a5108c7a-3682-4d42-a722-b621fbef2c24</value></item-id><item label="Item" type="text-multi"><value><item id="item-a5108c7a-3682-4d42-a722-b621fbef2c24"><test>item-a5108c7a-3682-4d42-a722-b621fbef2c24</test></item></value></item></result>

2020-09-09 06:35:47 | [Mutex] notify: [retrieved:item:item-a5108c7a-3682-4d42-a722-b621fbef2c24:payload-matches:true:localhost]

2020-09-09 06:35:47 | [Mutex] received everything.

2020-09-09 06:35:47 | [Mutex] isItemNotified: retrieved:item:item-a5108c7a-3682-4d42-a722-b621fbef2c24:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-09-09 06:35:47 |

2020-09-09 06:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:47 | ------------------------------------

2020-09-09 06:35:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-09-09 06:35:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-20957e42-9f4b-4553-80c8-67ad65763dbb</value><value>test</value><value>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-09-09 06:35:47 |

2020-09-09 06:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:47 | ------------------------------------

2020-09-09 06:35:47 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-51b2c02b-f54e-4f30-8e8f-edec7a02884e)</node-pattern></data>

2020-09-09 06:35:47 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.125s
2020-09-09 06:35:45 |

2020-09-09 06:35:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:45 | ------------------------------------

2020-09-09 06:35:45 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-09 06:35:45 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.236s
2020-09-09 06:35:47 |

2020-09-09 06:35:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-09-09 06:35:47 | ------------------------------------

2020-09-09 06:35:47 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-51b2c02b-f54e-4f30-8e8f-edec7a02884e</node><jids><value>admin@test-domain.com</value></jids></data>

2020-09-09 06:35:47 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>