Generated by TestNG with ReportNG at 23:03 PDT on Friday 28 August 2020
root@3513606298cd / 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.579s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.716s
2020-08-28 23:19:15 |

2020-08-28 23:19:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-28 23:19:15 | ------------------------------------

2020-08-28 23:19:15 | [Mutex] isItemNotified: node_qd8v6h0203:exists :: false

2020-08-28 23:19:15 | [Mutex] waiting for: [node_qd8v6h0203:create_node]

2020-08-28 23:19:15 | [Mutex] received everything.

2020-08-28 23:19:15 | [Mutex] isItemNotified: node_qd8v6h0203:create_node:success :: true

2020-08-28 23:19:15 | [Mutex] waiting for: [node_qd8v6h0203:subscribe_node]

2020-08-28 23:19:15 | [Mutex] waiting for: [node_qd8v6h0203:subscribe_node]

2020-08-28 23:19:15 | [Mutex] received everything.

2020-08-28 23:19:15 | [Mutex] isItemNotified: node_qd8v6h0203:subscribe_node:success :: true

2020-08-28 23:19:15 |


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


2020-08-28 23:19:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 23:19:15 | command: <data><node>node_qd8v6h0203</node><entry><content>content_2pes150204</content></entry></data>

2020-08-28 23:19:15 | target: http://localhost:8088

2020-08-28 23:19:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-28 23:19:15 | entity: <data><node>node_qd8v6h0203</node><entry><content>content_2pes150204</content></entry></data>

2020-08-28 23:19:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:19:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 23:19:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4478acb-b192-402b-8bdf-74f1d54932a0</value></item-id></result>

2020-08-28 23:19:15 | contains: true

2020-08-28 23:19:15 | [Mutex] waiting for: [user_regularn9ghkz0202@test-domain.com:message:received:content_2pes150204]

2020-08-28 23:19:15 | [Mutex] received everything.

2020-08-28 23:19:15 | [Mutex] isItemNotified: user_regularn9ghkz0202@test-domain.com:message:received:content_2pes150204 :: true

2020-08-28 23:19:15 |


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


2020-08-28 23:19:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 23:19:15 | command: <data><node>node_qd8v6h0203</node><expire-at>2020-08-29T06:19:10Z</expire-at><entry><content>content_t5zukm0205</content></entry></data>

2020-08-28 23:19:15 | target: http://localhost:8088

2020-08-28 23:19:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-28 23:19:15 | entity: <data><node>node_qd8v6h0203</node><expire-at>2020-08-29T06:19:10Z</expire-at><entry><content>content_t5zukm0205</content></entry></data>

2020-08-28 23:19:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:19:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 23:19:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3d02b45b-a2f9-4fb9-ba1c-3dadf1b77478</value></item-id></result>

2020-08-28 23:19:15 | contains: true

2020-08-28 23:19:15 | [Mutex] waiting for: [user_regularn9ghkz0202@test-domain.com:message:received:content_t5zukm0205]

2020-08-28 23:19:30 | [Mutex] timeout. Not received [user_regularn9ghkz0202@test-domain.com:message:received:content_t5zukm0205]

2020-08-28 23:19:30 | [Mutex] isItemNotified: user_regularn9ghkz0202@test-domain.com:message:received:content_t5zukm0205 :: false

2020-08-28 23:19:30 |


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


2020-08-28 23:19:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 23:19:30 | command: <data><node>node_qd8v6h0203</node><entry><content>content_ytn5gf0206</content></entry></data>

2020-08-28 23:19:30 | target: http://localhost:8088

2020-08-28 23:19:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-28 23:19:30 | entity: <data><node>node_qd8v6h0203</node><entry><content>content_ytn5gf0206</content></entry></data>

2020-08-28 23:19:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:19:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 23:19:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cf5a4a4d-1081-4e07-9594-018a4bb80232</value></item-id></result>

2020-08-28 23:19:30 | contains: true

2020-08-28 23:19:35 | [Mutex] waiting for: [user_regularn9ghkz0202@test-domain.com:message:received:content_ytn5gf0206]

2020-08-28 23:19:35 | [Mutex] waiting for: [user_regularn9ghkz0202@test-domain.com:message:received:content_ytn5gf0206]

2020-08-28 23:19:35 | [Mutex] received everything.

2020-08-28 23:19:35 | [Mutex] isItemNotified: user_regularn9ghkz0202@test-domain.com:message:received:content_ytn5gf0206 :: true

2020-08-28 23:19:35 |


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


2020-08-28 23:19:35 | [Mutex] received everything.

2020-08-28 23:19:35 | [Mutex] isItemNotified: node_qd8v6h0203:subscribe_node:success :: true

2020-08-28 23:19:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-28 23:19:35 | command: <data><node>node_qd8v6h0203</node><expire-at>2020-08-29T06:19:40Z</expire-at><entry><content>content_aj5r910207</content></entry></data>

2020-08-28 23:19:35 | target: http://localhost:8088

2020-08-28 23:19:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-28 23:19:35 | entity: <data><node>node_qd8v6h0203</node><expire-at>2020-08-29T06:19:40Z</expire-at><entry><content>content_aj5r910207</content></entry></data>

2020-08-28 23:19:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 29 Aug 2020 06:19:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-28 23:19:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f539b3e-0e87-43c0-8bf7-0f1615ac9192</value></item-id></result>

2020-08-28 23:19:35 | contains: true

2020-08-28 23:19:44 | [Mutex] waiting for: [user_regularn9ghkz0202@test-domain.com:message:received:content_aj5r910207]

2020-08-28 23:19:44 | [Mutex] waiting for: [user_regularn9ghkz0202@test-domain.com:message:received:content_aj5r910207]

2020-08-28 23:19:44 | [Mutex] waiting for: [user_regularn9ghkz0202@test-domain.com:message:received:content_aj5r910207]

2020-08-28 23:19:59 | [Mutex] timeout. Not received [user_regularn9ghkz0202@test-domain.com:message:received:content_aj5r910207]

2020-08-28 23:19:59 | [Mutex] received everything.

2020-08-28 23:19:59 | [Mutex] isItemNotified: user_regularn9ghkz0202@test-domain.com:message:received:content_aj5r910207 :: false

2020-08-28 23:19:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_aj5r910207 :: true