Generated by TestNG with ReportNG at 22:20 PDT on Monday 26 April 2021
root@b2c2a8eba6e6 / 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.100s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.142s
2021-04-26 22:37:38 |

2021-04-26 22:37:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:38 | ------------------------------------

2021-04-26 22:37:38 | [Mutex] waiting for: [configured:node:node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82:node-17376bbd-f638-414a-97fb-47dd7db4c78c]

2021-04-26 22:37:38 | [Mutex] received everything.

2021-04-26 22:37:38 | [Mutex] isItemNotified: configured:node:node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82:node-17376bbd-f638-414a-97fb-47dd7db4c78c :: true

2021-04-26 22:37:39 | [Mutex] waiting for: [received:nodes:601fc973-4023-4857-a403-e094bccb5e37:localhost]

2021-04-26 22:37:39 | [Mutex] received everything.

2021-04-26 22:37:39 | [Mutex] isItemNotified: received:node:601fc973-4023-4857-a403-e094bccb5e37:localhost:node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82:Node 7a8d5eae-9a61-44a8-9ae5-a0b502a91d82 :: true

2021-04-26 22:37:39 | [Mutex] waiting for: [received:nodes:891d36a3-e822-4466-9cf7-dd8c23f5152f:localhost]

2021-04-26 22:37:39 | [Mutex] waiting for: [received:nodes:891d36a3-e822-4466-9cf7-dd8c23f5152f:localhost]

2021-04-26 22:37:39 | [Mutex] waiting for: [received:nodes:891d36a3-e822-4466-9cf7-dd8c23f5152f:localhost]

2021-04-26 22:37:39 | [Mutex] waiting for: [received:nodes:891d36a3-e822-4466-9cf7-dd8c23f5152f:localhost]

2021-04-26 22:37:39 | [Mutex] received everything.

2021-04-26 22:37:39 | [Mutex] isItemNotified: received:node:891d36a3-e822-4466-9cf7-dd8c23f5152f:localhost:node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82:Node 7a8d5eae-9a61-44a8-9ae5-a0b502a91d82 :: false

createNodes 1.487s
2021-04-26 22:37:36 |

2021-04-26 22:37:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:36 | ------------------------------------

2021-04-26 22:37:36 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</title></pubsub></data>

2021-04-26 22:37:36 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2021-04-26 22:37:37 | [Mutex] waiting for: [received:nodes:5eb2ff7b-95e0-49b6-bbfb-c17ea8724e84:localhost]

2021-04-26 22:37:37 | [Mutex] received everything.

2021-04-26 22:37:37 | [Mutex] isItemNotified: received:node:5eb2ff7b-95e0-49b6-bbfb-c17ea8724e84:localhost:node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82:Node 7a8d5eae-9a61-44a8-9ae5-a0b502a91d82 :: true

createSubnodes 1.035s
2021-04-26 22:37:37 |

2021-04-26 22:37:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:37 | ------------------------------------

2021-04-26 22:37:37 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-17376bbd-f638-414a-97fb-47dd7db4c78c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 17376bbd-f638-414a-97fb-47dd7db4c78c</title></pubsub></data>

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

2021-04-26 22:37:38 | [Mutex] waiting for: [received:nodes:160f5cc0-be22-4cad-bfc0-59cb61fd17d8:localhost]

2021-04-26 22:37:38 | [Mutex] received everything.

2021-04-26 22:37:38 | [Mutex] isItemNotified: received:node:160f5cc0-be22-4cad-bfc0-59cb61fd17d8:localhost:node-17376bbd-f638-414a-97fb-47dd7db4c78c:Node 17376bbd-f638-414a-97fb-47dd7db4c78c :: true

deleteNodes 1.019s
2021-04-26 22:37:44 |

2021-04-26 22:37:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:44 | ------------------------------------

2021-04-26 22:37:44 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-17376bbd-f638-414a-97fb-47dd7db4c78c</node></data>

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

2021-04-26 22:37:45 | [Mutex] waiting for: [received:nodes:04af5183-1679-4706-8ba2-09c2b3e3567a:localhost]

2021-04-26 22:37:45 | [Mutex] received everything.

2021-04-26 22:37:45 | [Mutex] isItemNotified: received:node:04af5183-1679-4706-8ba2-09c2b3e3567a:localhost:node-17376bbd-f638-414a-97fb-47dd7db4c78c:Node 17376bbd-f638-414a-97fb-47dd7db4c78c :: false

deleteSubnodes 1.151s
2021-04-26 22:37:43 |

2021-04-26 22:37:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:43 | ------------------------------------

2021-04-26 22:37:43 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</node></data>

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

2021-04-26 22:37:44 | [Mutex] waiting for: [received:nodes:63754a48-7807-414f-a871-9b3feba9ce23:localhost]

2021-04-26 22:37:44 | [Mutex] received everything.

2021-04-26 22:37:44 | [Mutex] isItemNotified: received:node:63754a48-7807-414f-a871-9b3feba9ce23:localhost:node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82:Node 7a8d5eae-9a61-44a8-9ae5-a0b502a91d82 :: false

2021-04-26 22:37:44 | [Mutex] waiting for: [received:nodes:43a6fa97-03c3-42ba-a2e3-25018da02105:localhost]

2021-04-26 22:37:44 | [Mutex] received everything.

2021-04-26 22:37:44 | [Mutex] isItemNotified: received:node:43a6fa97-03c3-42ba-a2e3-25018da02105:localhost:node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82:Node 7a8d5eae-9a61-44a8-9ae5-a0b502a91d82 :: false

publishItemsToNodes 0.306s
2021-04-26 22:37:40 |

2021-04-26 22:37:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:40 | ------------------------------------

2021-04-26 22:37:40 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</node><item-id>item-43672930-3caa-475d-89e7-db8b2dc6334d</item-id><entry><test>item-43672930-3caa-475d-89e7-db8b2dc6334d</test></entry></data>

2021-04-26 22:37:41 | 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-43672930-3caa-475d-89e7-db8b2dc6334d</value></item-id></result>

2021-04-26 22:37:41 | [Mutex] waiting for: [published:item:notifieditem-43672930-3caa-475d-89e7-db8b2dc6334d:admin@test-domain.com]

2021-04-26 22:37:41 | [Mutex] received everything.

2021-04-26 22:37:41 | [Mutex] isItemNotified: published:item:notifieditem-43672930-3caa-475d-89e7-db8b2dc6334d:admin@test-domain.com :: true

retractItemsFromNodes 0.339s
2021-04-26 22:37:41 |

2021-04-26 22:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:41 | ------------------------------------

2021-04-26 22:37:41 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</node><item-id>item-43672930-3caa-475d-89e7-db8b2dc6334d</item-id></data>

2021-04-26 22:37:41 | 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-43672930-3caa-475d-89e7-db8b2dc6334d</value></item-id></result>

2021-04-26 22:37:41 | [Mutex] received everything.

2021-04-26 22:37:41 | [Mutex] isItemNotified: retracted:item:notifieditem-43672930-3caa-475d-89e7-db8b2dc6334d:admin@test-domain.com :: true

retrieveItemsFromNodes 0.269s
2021-04-26 22:37:41 |

2021-04-26 22:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:41 | ------------------------------------

2021-04-26 22:37:41 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</node><item-id>item-43672930-3caa-475d-89e7-db8b2dc6334d</item-id></data>

2021-04-26 22:37:41 | 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-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</value></node><item-id type="text-single" label="Item ID"><value>item-43672930-3caa-475d-89e7-db8b2dc6334d</value></item-id><item type="text-multi" label="Item"><value><item id="item-43672930-3caa-475d-89e7-db8b2dc6334d"><test>item-43672930-3caa-475d-89e7-db8b2dc6334d</test></item></value></item></result>

2021-04-26 22:37:41 | [Mutex] notify: [retrieved:item:item-43672930-3caa-475d-89e7-db8b2dc6334d:payload-matches:true:localhost]

2021-04-26 22:37:41 | [Mutex] received everything.

2021-04-26 22:37:41 | [Mutex] isItemNotified: retrieved:item:item-43672930-3caa-475d-89e7-db8b2dc6334d:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.051s
2021-04-26 22:37:41 |

2021-04-26 22:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:41 | ------------------------------------

2021-04-26 22:37:41 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2021-04-26 22:37:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-17376bbd-f638-414a-97fb-47dd7db4c78c</value><value>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2021-04-26 22:37:41 |

2021-04-26 22:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:41 | ------------------------------------

2021-04-26 22:37: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-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82)</node-pattern></data>

2021-04-26 22:37:41 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.127s
2021-04-26 22:37:39 |

2021-04-26 22:37:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:39 | ------------------------------------

2021-04-26 22:37:39 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-26 22:37: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.235s
2021-04-26 22:37:41 |

2021-04-26 22:37:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2021-04-26 22:37:41 | ------------------------------------

2021-04-26 22:37:41 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-7a8d5eae-9a61-44a8-9ae5-a0b502a91d82</node><jids><value>admin@test-domain.com</value></jids></data>

2021-04-26 22:37:42 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>