Generated by TestNG with ReportNG at 22:15 PDT on Wednesday 12 May 2021
root@785cf647a4ab / 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.072s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.728s
2021-05-12 22:31:18 |

2021-05-12 22:31:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-12 22:31:18 | ------------------------------------

2021-05-12 22:31:18 | [Mutex] isItemNotified: node_d6p7yi0203:exists :: false

2021-05-12 22:31:18 | [Mutex] waiting for: [node_d6p7yi0203:create_node]

2021-05-12 22:31:18 | [Mutex] received everything.

2021-05-12 22:31:18 | [Mutex] isItemNotified: node_d6p7yi0203:create_node:success :: true

2021-05-12 22:31:18 | [Mutex] waiting for: [node_d6p7yi0203:subscribe_node]

2021-05-12 22:31:18 | [Mutex] waiting for: [node_d6p7yi0203:subscribe_node]

2021-05-12 22:31:18 | [Mutex] received everything.

2021-05-12 22:31:18 | [Mutex] isItemNotified: node_d6p7yi0203:subscribe_node:success :: true

2021-05-12 22:31:18 |


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


2021-05-12 22:31:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-12 22:31:18 | command: <data><node>node_d6p7yi0203</node><entry><content>content_65aj3a0204</content></entry></data>

2021-05-12 22:31:18 | target: http://localhost:8088

2021-05-12 22:31:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-12 22:31:18 | entity: <data><node>node_d6p7yi0203</node><entry><content>content_65aj3a0204</content></entry></data>

2021-05-12 22:31:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:31:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:31:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67f64c51-8f38-444d-9c55-5de09fc659f7</value></item-id></result>

2021-05-12 22:31:18 | contains: true

2021-05-12 22:31:18 | [Mutex] received everything.

2021-05-12 22:31:18 | [Mutex] isItemNotified: user_regularfs4nm40202@test-domain.com:message:received:content_65aj3a0204 :: true

2021-05-12 22:31:18 |


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


2021-05-12 22:31:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-12 22:31:18 | command: <data><node>node_d6p7yi0203</node><expire-at>2021-05-13T05:31:13Z</expire-at><entry><content>content_4b9vsg0205</content></entry></data>

2021-05-12 22:31:18 | target: http://localhost:8088

2021-05-12 22:31:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-12 22:31:18 | entity: <data><node>node_d6p7yi0203</node><expire-at>2021-05-13T05:31:13Z</expire-at><entry><content>content_4b9vsg0205</content></entry></data>

2021-05-12 22:31:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:31:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:31:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7ba19a61-a9bf-44e5-83f6-2e88126df4d8</value></item-id></result>

2021-05-12 22:31:18 | contains: true

2021-05-12 22:31:18 | [Mutex] waiting for: [user_regularfs4nm40202@test-domain.com:message:received:content_4b9vsg0205]

2021-05-12 22:31:33 | [Mutex] timeout. Not received [user_regularfs4nm40202@test-domain.com:message:received:content_4b9vsg0205]

2021-05-12 22:31:33 | [Mutex] isItemNotified: user_regularfs4nm40202@test-domain.com:message:received:content_4b9vsg0205 :: false

2021-05-12 22:31:33 |


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


2021-05-12 22:31:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-12 22:31:33 | command: <data><node>node_d6p7yi0203</node><entry><content>content_dfg5h0206</content></entry></data>

2021-05-12 22:31:33 | target: http://localhost:8088

2021-05-12 22:31:33 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2021-05-12 22:31:33 | entity: <data><node>node_d6p7yi0203</node><entry><content>content_dfg5h0206</content></entry></data>

2021-05-12 22:31:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:31:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:31:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be8bc3a4-9096-40d5-845b-79e718a2bda6</value></item-id></result>

2021-05-12 22:31:33 | contains: true

2021-05-12 22:31:38 | [Mutex] waiting for: [user_regularfs4nm40202@test-domain.com:message:received:content_dfg5h0206]

2021-05-12 22:31:38 | [Mutex] received everything.

2021-05-12 22:31:38 | [Mutex] isItemNotified: user_regularfs4nm40202@test-domain.com:message:received:content_dfg5h0206 :: true

2021-05-12 22:31:38 |


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


2021-05-12 22:31:38 | [Mutex] received everything.

2021-05-12 22:31:38 | [Mutex] isItemNotified: node_d6p7yi0203:subscribe_node:success :: true

2021-05-12 22:31:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-12 22:31:38 | command: <data><node>node_d6p7yi0203</node><expire-at>2021-05-13T05:31:43Z</expire-at><entry><content>content_ywisd90207</content></entry></data>

2021-05-12 22:31:38 | target: http://localhost:8088

2021-05-12 22:31:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-12 22:31:38 | entity: <data><node>node_d6p7yi0203</node><expire-at>2021-05-13T05:31:43Z</expire-at><entry><content>content_ywisd90207</content></entry></data>

2021-05-12 22:31:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:31:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-12 22:31:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>71c27d62-71a6-443f-80c8-94d053e42bca</value></item-id></result>

2021-05-12 22:31:38 | contains: true

2021-05-12 22:31:46 | [Mutex] waiting for: [user_regularfs4nm40202@test-domain.com:message:received:content_ywisd90207]

2021-05-12 22:31:46 | [Mutex] waiting for: [user_regularfs4nm40202@test-domain.com:message:received:content_ywisd90207]

2021-05-12 22:32:01 | [Mutex] timeout. Not received [user_regularfs4nm40202@test-domain.com:message:received:content_ywisd90207]

2021-05-12 22:32:01 | [Mutex] received everything.

2021-05-12 22:32:01 | [Mutex] isItemNotified: user_regularfs4nm40202@test-domain.com:message:received:content_ywisd90207 :: false

2021-05-12 22:32:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ywisd90207 :: true