Generated by TestNG with ReportNG at 22:23 PDT on Tuesday 29 September 2020
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.224s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.733s
2020-09-29 22:39:07 |

2020-09-29 22:39:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-29 22:39:07 | ------------------------------------

2020-09-29 22:39:07 | [Mutex] isItemNotified: node_ac53x70203:exists :: false

2020-09-29 22:39:07 | [Mutex] waiting for: [node_ac53x70203:create_node]

2020-09-29 22:39:07 | [Mutex] received everything.

2020-09-29 22:39:07 | [Mutex] isItemNotified: node_ac53x70203:create_node:success :: true

2020-09-29 22:39:07 | [Mutex] waiting for: [node_ac53x70203:subscribe_node]

2020-09-29 22:39:07 | [Mutex] waiting for: [node_ac53x70203:subscribe_node]

2020-09-29 22:39:07 | [Mutex] received everything.

2020-09-29 22:39:07 | [Mutex] isItemNotified: node_ac53x70203:subscribe_node:success :: true

2020-09-29 22:39:07 |


===== publishing normal message (to online)


2020-09-29 22:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:39:07 | command: <data><node>node_ac53x70203</node><entry><content>content_cyei1g0204</content></entry></data>

2020-09-29 22:39:07 | target: http://localhost:8088

2020-09-29 22:39:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-29 22:39:07 | entity: <data><node>node_ac53x70203</node><entry><content>content_cyei1g0204</content></entry></data>

2020-09-29 22:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cf91af96-f248-4709-a73c-48f5dc553d24</value></item-id></result>

2020-09-29 22:39:07 | contains: true

2020-09-29 22:39:07 | [Mutex] waiting for: [user_regular7ne7uh0202@test-domain.com:message:received:content_cyei1g0204]

2020-09-29 22:39:07 | [Mutex] received everything.

2020-09-29 22:39:07 | [Mutex] isItemNotified: user_regular7ne7uh0202@test-domain.com:message:received:content_cyei1g0204 :: true

2020-09-29 22:39:07 |


===== publishing already old message - expecting message being filtered out (to online)


2020-09-29 22:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:39:07 | command: <data><node>node_ac53x70203</node><expire-at>2020-09-30T05:39:02Z</expire-at><entry><content>content_iz52dz0205</content></entry></data>

2020-09-29 22:39:07 | target: http://localhost:8088

2020-09-29 22:39:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-29 22:39:07 | entity: <data><node>node_ac53x70203</node><expire-at>2020-09-30T05:39:02Z</expire-at><entry><content>content_iz52dz0205</content></entry></data>

2020-09-29 22:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1b71289f-400e-42f9-97cb-3696ad3a6c7e</value></item-id></result>

2020-09-29 22:39:07 | contains: true

2020-09-29 22:39:07 | [Mutex] waiting for: [user_regular7ne7uh0202@test-domain.com:message:received:content_iz52dz0205]

2020-09-29 22:39:22 | [Mutex] timeout. Not received [user_regular7ne7uh0202@test-domain.com:message:received:content_iz52dz0205]

2020-09-29 22:39:22 | [Mutex] isItemNotified: user_regular7ne7uh0202@test-domain.com:message:received:content_iz52dz0205 :: false

2020-09-29 22:39:22 |


===== publishing normal message (to offline)


2020-09-29 22:39:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:39:22 | command: <data><node>node_ac53x70203</node><entry><content>content_ovyzhx0206</content></entry></data>

2020-09-29 22:39:22 | target: http://localhost:8088

2020-09-29 22:39:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-29 22:39:22 | entity: <data><node>node_ac53x70203</node><entry><content>content_ovyzhx0206</content></entry></data>

2020-09-29 22:39:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:39:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:39:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>34ccb2f8-3e15-44e5-9308-cad3afba568b</value></item-id></result>

2020-09-29 22:39:22 | contains: true

2020-09-29 22:39:27 | [Mutex] waiting for: [user_regular7ne7uh0202@test-domain.com:message:received:content_ovyzhx0206]

2020-09-29 22:39:27 | [Mutex] waiting for: [user_regular7ne7uh0202@test-domain.com:message:received:content_ovyzhx0206]

2020-09-29 22:39:27 | [Mutex] received everything.

2020-09-29 22:39:27 | [Mutex] isItemNotified: user_regular7ne7uh0202@test-domain.com:message:received:content_ovyzhx0206 :: true

2020-09-29 22:39:27 |


===== publishing already old message - expecting message being filtered out (to offline)


2020-09-29 22:39:27 | [Mutex] received everything.

2020-09-29 22:39:27 | [Mutex] isItemNotified: node_ac53x70203:subscribe_node:success :: true

2020-09-29 22:39:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-29 22:39:27 | command: <data><node>node_ac53x70203</node><expire-at>2020-09-30T05:39:32Z</expire-at><entry><content>content_nm68bn0207</content></entry></data>

2020-09-29 22:39:27 | target: http://localhost:8088

2020-09-29 22:39:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-29 22:39:27 | entity: <data><node>node_ac53x70203</node><expire-at>2020-09-30T05:39:32Z</expire-at><entry><content>content_nm68bn0207</content></entry></data>

2020-09-29 22:39:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 30 Sep 2020 05:39:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-29 22:39:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>81f0c701-7fe0-4213-ac5f-1de03f2eae26</value></item-id></result>

2020-09-29 22:39:27 | contains: true

2020-09-29 22:39:36 | [Mutex] waiting for: [user_regular7ne7uh0202@test-domain.com:message:received:content_nm68bn0207]

2020-09-29 22:39:36 | [Mutex] waiting for: [user_regular7ne7uh0202@test-domain.com:message:received:content_nm68bn0207]

2020-09-29 22:39:51 | [Mutex] timeout. Not received [user_regular7ne7uh0202@test-domain.com:message:received:content_nm68bn0207]

2020-09-29 22:39:51 | [Mutex] received everything.

2020-09-29 22:39:51 | [Mutex] isItemNotified: user_regular7ne7uh0202@test-domain.com:message:received:content_nm68bn0207 :: false

2020-09-29 22:39:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nm68bn0207 :: true