Generated by TestNG with ReportNG at 22:32 PDT on Sunday 27 September 2020
root@5144953a445d / 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.463s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.657s
2020-09-27 22:47:25 |

2020-09-27 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-27 22:47:25 | ------------------------------------

2020-09-27 22:47:25 | [Mutex] isItemNotified: node_uhh4t90203:exists :: false

2020-09-27 22:47:25 | [Mutex] waiting for: [node_uhh4t90203:create_node]

2020-09-27 22:47:25 | [Mutex] received everything.

2020-09-27 22:47:25 | [Mutex] isItemNotified: node_uhh4t90203:create_node:success :: true

2020-09-27 22:47:25 | [Mutex] waiting for: [node_uhh4t90203:subscribe_node]

2020-09-27 22:47:25 | [Mutex] waiting for: [node_uhh4t90203:subscribe_node]

2020-09-27 22:47:25 | [Mutex] received everything.

2020-09-27 22:47:25 | [Mutex] isItemNotified: node_uhh4t90203:subscribe_node:success :: true

2020-09-27 22:47:25 |


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


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

2020-09-27 22:47:25 | command: <data><node>node_uhh4t90203</node><entry><content>content_y1zkb0204</content></entry></data>

2020-09-27 22:47:25 | target: http://localhost:8088

2020-09-27 22:47:25 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2020-09-27 22:47:25 | entity: <data><node>node_uhh4t90203</node><entry><content>content_y1zkb0204</content></entry></data>

2020-09-27 22:47:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 05:47:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 22:47:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a37626d7-96bc-464e-83f5-63a06e388f64</value></item-id></result>

2020-09-27 22:47:25 | contains: true

2020-09-27 22:47:25 | [Mutex] waiting for: [user_regulareztwux0202@test-domain.com:message:received:content_y1zkb0204]

2020-09-27 22:47:25 | [Mutex] received everything.

2020-09-27 22:47:25 | [Mutex] isItemNotified: user_regulareztwux0202@test-domain.com:message:received:content_y1zkb0204 :: true

2020-09-27 22:47:25 |


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


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

2020-09-27 22:47:25 | command: <data><node>node_uhh4t90203</node><expire-at>2020-09-28T05:47:20Z</expire-at><entry><content>content_sf3klh0205</content></entry></data>

2020-09-27 22:47:25 | target: http://localhost:8088

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

2020-09-27 22:47:25 | entity: <data><node>node_uhh4t90203</node><expire-at>2020-09-28T05:47:20Z</expire-at><entry><content>content_sf3klh0205</content></entry></data>

2020-09-27 22:47:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 05:47:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 22:47:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>43eda651-7157-475a-b97d-c3d2b4667b64</value></item-id></result>

2020-09-27 22:47:25 | contains: true

2020-09-27 22:47:25 | [Mutex] waiting for: [user_regulareztwux0202@test-domain.com:message:received:content_sf3klh0205]

2020-09-27 22:47:40 | [Mutex] timeout. Not received [user_regulareztwux0202@test-domain.com:message:received:content_sf3klh0205]

2020-09-27 22:47:40 | [Mutex] isItemNotified: user_regulareztwux0202@test-domain.com:message:received:content_sf3klh0205 :: false

2020-09-27 22:47:40 |


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


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

2020-09-27 22:47:40 | command: <data><node>node_uhh4t90203</node><entry><content>content_44lqyj0206</content></entry></data>

2020-09-27 22:47:40 | target: http://localhost:8088

2020-09-27 22:47:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-27 22:47:40 | entity: <data><node>node_uhh4t90203</node><entry><content>content_44lqyj0206</content></entry></data>

2020-09-27 22:47:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 05:47:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 22:47:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>474f74dc-2efd-494a-9c6a-2ad2d131f798</value></item-id></result>

2020-09-27 22:47:40 | contains: true

2020-09-27 22:47:46 | [Mutex] waiting for: [user_regulareztwux0202@test-domain.com:message:received:content_44lqyj0206]

2020-09-27 22:47:46 | [Mutex] waiting for: [user_regulareztwux0202@test-domain.com:message:received:content_44lqyj0206]

2020-09-27 22:47:46 | [Mutex] received everything.

2020-09-27 22:47:46 | [Mutex] isItemNotified: user_regulareztwux0202@test-domain.com:message:received:content_44lqyj0206 :: true

2020-09-27 22:47:46 |


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


2020-09-27 22:47:46 | [Mutex] received everything.

2020-09-27 22:47:46 | [Mutex] isItemNotified: node_uhh4t90203:subscribe_node:success :: true

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

2020-09-27 22:47:46 | command: <data><node>node_uhh4t90203</node><expire-at>2020-09-28T05:47:51Z</expire-at><entry><content>content_d89nfq0207</content></entry></data>

2020-09-27 22:47:46 | target: http://localhost:8088

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

2020-09-27 22:47:46 | entity: <data><node>node_uhh4t90203</node><expire-at>2020-09-28T05:47:51Z</expire-at><entry><content>content_d89nfq0207</content></entry></data>

2020-09-27 22:47:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 05:47:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-27 22:47:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6c73eb9b-2030-4bc8-b2a8-ecdc4154ad4a</value></item-id></result>

2020-09-27 22:47:46 | contains: true

2020-09-27 22:47:54 | [Mutex] waiting for: [user_regulareztwux0202@test-domain.com:message:received:content_d89nfq0207]

2020-09-27 22:47:54 | [Mutex] waiting for: [user_regulareztwux0202@test-domain.com:message:received:content_d89nfq0207]

2020-09-27 22:48:09 | [Mutex] timeout. Not received [user_regulareztwux0202@test-domain.com:message:received:content_d89nfq0207]

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

2020-09-27 22:48:09 | [Mutex] isItemNotified: user_regulareztwux0202@test-domain.com:message:received:content_d89nfq0207 :: false

2020-09-27 22:48:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d89nfq0207 :: true