Generated by TestNG with ReportNG at 22:47 PDT on Sunday 09 May 2021
root@b2c2a8eba6e6 / 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.077s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.666s
2021-05-09 23:03:45 |

2021-05-09 23:03:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-05-09 23:03:45 | ------------------------------------

2021-05-09 23:03:45 | [Mutex] isItemNotified: node_upxqk40203:exists :: false

2021-05-09 23:03:45 | [Mutex] waiting for: [node_upxqk40203:create_node]

2021-05-09 23:03:45 | [Mutex] received everything.

2021-05-09 23:03:45 | [Mutex] isItemNotified: node_upxqk40203:create_node:success :: true

2021-05-09 23:03:45 | [Mutex] waiting for: [node_upxqk40203:subscribe_node]

2021-05-09 23:03:45 | [Mutex] waiting for: [node_upxqk40203:subscribe_node]

2021-05-09 23:03:45 | [Mutex] received everything.

2021-05-09 23:03:45 | [Mutex] isItemNotified: node_upxqk40203:subscribe_node:success :: true

2021-05-09 23:03:45 |


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


2021-05-09 23:03:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 23:03:45 | command: <data><node>node_upxqk40203</node><entry><content>content_u6n9ov0204</content></entry></data>

2021-05-09 23:03:45 | target: http://localhost:8088

2021-05-09 23:03:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-09 23:03:45 | entity: <data><node>node_upxqk40203</node><entry><content>content_u6n9ov0204</content></entry></data>

2021-05-09 23:03:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 06:03:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 23:03:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>831c7523-58b3-4589-a7c5-3d42b88adf81</value></item-id></result>

2021-05-09 23:03:45 | contains: true

2021-05-09 23:03:45 | [Mutex] received everything.

2021-05-09 23:03:45 | [Mutex] isItemNotified: user_regular5g22i70202@test-domain.com:message:received:content_u6n9ov0204 :: true

2021-05-09 23:03:45 |


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


2021-05-09 23:03:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 23:03:45 | command: <data><node>node_upxqk40203</node><expire-at>2021-05-10T06:03:40Z</expire-at><entry><content>content_nonsln0205</content></entry></data>

2021-05-09 23:03:45 | target: http://localhost:8088

2021-05-09 23:03:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-09 23:03:45 | entity: <data><node>node_upxqk40203</node><expire-at>2021-05-10T06:03:40Z</expire-at><entry><content>content_nonsln0205</content></entry></data>

2021-05-09 23:03:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 06:03:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 23:03:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ce840abe-1d44-4bfd-98d5-b81da2c98093</value></item-id></result>

2021-05-09 23:03:45 | contains: true

2021-05-09 23:03:45 | [Mutex] waiting for: [user_regular5g22i70202@test-domain.com:message:received:content_nonsln0205]

2021-05-09 23:04:00 | [Mutex] timeout. Not received [user_regular5g22i70202@test-domain.com:message:received:content_nonsln0205]

2021-05-09 23:04:00 | [Mutex] isItemNotified: user_regular5g22i70202@test-domain.com:message:received:content_nonsln0205 :: false

2021-05-09 23:04:00 |


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


2021-05-09 23:04:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 23:04:00 | command: <data><node>node_upxqk40203</node><entry><content>content_da0et70206</content></entry></data>

2021-05-09 23:04:00 | target: http://localhost:8088

2021-05-09 23:04:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-05-09 23:04:00 | entity: <data><node>node_upxqk40203</node><entry><content>content_da0et70206</content></entry></data>

2021-05-09 23:04:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 06:04:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 23:04:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7d48abc7-ce56-45f5-b2a4-269c6e13c591</value></item-id></result>

2021-05-09 23:04:00 | contains: true

2021-05-09 23:04:05 | [Mutex] waiting for: [user_regular5g22i70202@test-domain.com:message:received:content_da0et70206]

2021-05-09 23:04:05 | [Mutex] received everything.

2021-05-09 23:04:05 | [Mutex] isItemNotified: user_regular5g22i70202@test-domain.com:message:received:content_da0et70206 :: true

2021-05-09 23:04:05 |


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


2021-05-09 23:04:05 | [Mutex] received everything.

2021-05-09 23:04:05 | [Mutex] isItemNotified: node_upxqk40203:subscribe_node:success :: true

2021-05-09 23:04:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-05-09 23:04:05 | command: <data><node>node_upxqk40203</node><expire-at>2021-05-10T06:04:10Z</expire-at><entry><content>content_ubqb1t0207</content></entry></data>

2021-05-09 23:04:05 | target: http://localhost:8088

2021-05-09 23:04:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-05-09 23:04:05 | entity: <data><node>node_upxqk40203</node><expire-at>2021-05-10T06:04:10Z</expire-at><entry><content>content_ubqb1t0207</content></entry></data>

2021-05-09 23:04:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 May 2021 06:04:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-05-09 23:04:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3d8604db-e9e4-43eb-a82a-f4cb8a8884d8</value></item-id></result>

2021-05-09 23:04:05 | contains: true

2021-05-09 23:04:13 | [Mutex] waiting for: [user_regular5g22i70202@test-domain.com:message:received:content_ubqb1t0207]

2021-05-09 23:04:13 | [Mutex] waiting for: [user_regular5g22i70202@test-domain.com:message:received:content_ubqb1t0207]

2021-05-09 23:04:28 | [Mutex] timeout. Not received [user_regular5g22i70202@test-domain.com:message:received:content_ubqb1t0207]

2021-05-09 23:04:28 | [Mutex] received everything.

2021-05-09 23:04:28 | [Mutex] isItemNotified: user_regular5g22i70202@test-domain.com:message:received:content_ubqb1t0207 :: false

2021-05-09 23:04:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ubqb1t0207 :: true