Generated by TestNG with ReportNG at 21:57 PST on Thursday 14 January 2021
root@87f6aca6b6f2 / 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.617s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.779s
2021-01-14 22:14:01 |

2021-01-14 22:14:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-14 22:14:01 | ------------------------------------

2021-01-14 22:14:01 | [Mutex] isItemNotified: node_vyg5au0203:exists :: false

2021-01-14 22:14:01 | [Mutex] waiting for: [node_vyg5au0203:create_node]

2021-01-14 22:14:01 | [Mutex] received everything.

2021-01-14 22:14:01 | [Mutex] isItemNotified: node_vyg5au0203:create_node:success :: true

2021-01-14 22:14:01 | [Mutex] waiting for: [node_vyg5au0203:subscribe_node]

2021-01-14 22:14:01 | [Mutex] waiting for: [node_vyg5au0203:subscribe_node]

2021-01-14 22:14:01 | [Mutex] received everything.

2021-01-14 22:14:01 | [Mutex] isItemNotified: node_vyg5au0203:subscribe_node:success :: true

2021-01-14 22:14:01 |


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


2021-01-14 22:14:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:01 | command: <data><node>node_vyg5au0203</node><entry><content>content_nf2f780204</content></entry></data>

2021-01-14 22:14:01 | target: http://localhost:8088

2021-01-14 22:14:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-14 22:14:01 | entity: <data><node>node_vyg5au0203</node><entry><content>content_nf2f780204</content></entry></data>

2021-01-14 22:14:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>351d0c11-5a70-4784-a017-e2fc737dc6b0</value></item-id></result>

2021-01-14 22:14:01 | contains: true

2021-01-14 22:14:01 | [Mutex] received everything.

2021-01-14 22:14:01 | [Mutex] isItemNotified: user_regulari0iz5p0202@test-domain.com:message:received:content_nf2f780204 :: true

2021-01-14 22:14:01 |


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


2021-01-14 22:14:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:01 | command: <data><node>node_vyg5au0203</node><expire-at>2021-01-15T06:13:56Z</expire-at><entry><content>content_ikmg6v0205</content></entry></data>

2021-01-14 22:14:01 | target: http://localhost:8088

2021-01-14 22:14:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-14 22:14:01 | entity: <data><node>node_vyg5au0203</node><expire-at>2021-01-15T06:13:56Z</expire-at><entry><content>content_ikmg6v0205</content></entry></data>

2021-01-14 22:14:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f06f1415-c200-4c7e-b824-b02a6a257eb5</value></item-id></result>

2021-01-14 22:14:01 | contains: true

2021-01-14 22:14:01 | [Mutex] waiting for: [user_regulari0iz5p0202@test-domain.com:message:received:content_ikmg6v0205]

2021-01-14 22:14:16 | [Mutex] timeout. Not received [user_regulari0iz5p0202@test-domain.com:message:received:content_ikmg6v0205]

2021-01-14 22:14:16 | [Mutex] isItemNotified: user_regulari0iz5p0202@test-domain.com:message:received:content_ikmg6v0205 :: false

2021-01-14 22:14:16 |


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


2021-01-14 22:14:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:16 | command: <data><node>node_vyg5au0203</node><entry><content>content_okqixy0206</content></entry></data>

2021-01-14 22:14:16 | target: http://localhost:8088

2021-01-14 22:14:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-14 22:14:16 | entity: <data><node>node_vyg5au0203</node><entry><content>content_okqixy0206</content></entry></data>

2021-01-14 22:14:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>db8038d4-9cc9-4a76-81e0-250bfca84e1b</value></item-id></result>

2021-01-14 22:14:16 | contains: true

2021-01-14 22:14:22 | [Mutex] waiting for: [user_regulari0iz5p0202@test-domain.com:message:received:content_okqixy0206]

2021-01-14 22:14:22 | [Mutex] received everything.

2021-01-14 22:14:22 | [Mutex] isItemNotified: user_regulari0iz5p0202@test-domain.com:message:received:content_okqixy0206 :: true

2021-01-14 22:14:22 |


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


2021-01-14 22:14:22 | [Mutex] received everything.

2021-01-14 22:14:22 | [Mutex] isItemNotified: node_vyg5au0203:subscribe_node:success :: true

2021-01-14 22:14:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-14 22:14:22 | command: <data><node>node_vyg5au0203</node><expire-at>2021-01-15T06:14:27Z</expire-at><entry><content>content_5url740207</content></entry></data>

2021-01-14 22:14:22 | target: http://localhost:8088

2021-01-14 22:14:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-14 22:14:22 | entity: <data><node>node_vyg5au0203</node><expire-at>2021-01-15T06:14:27Z</expire-at><entry><content>content_5url740207</content></entry></data>

2021-01-14 22:14:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 06:14:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-14 22:14:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2ef164ce-717a-4994-804c-f943dd884a80</value></item-id></result>

2021-01-14 22:14:22 | contains: true

2021-01-14 22:14:30 | [Mutex] waiting for: [user_regulari0iz5p0202@test-domain.com:message:received:content_5url740207]

2021-01-14 22:14:45 | [Mutex] timeout. Not received [user_regulari0iz5p0202@test-domain.com:message:received:content_5url740207]

2021-01-14 22:14:45 | [Mutex] received everything.

2021-01-14 22:14:45 | [Mutex] isItemNotified: user_regulari0iz5p0202@test-domain.com:message:received:content_5url740207 :: false

2021-01-14 22:14:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5url740207 :: true