Generated by TestNG with ReportNG at 10:55 PDT on Thursday 27 August 2020
root@ac2fa7a1e1ad / 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.525s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.731s
2020-08-27 11:13:37 |

2020-08-27 11:13:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-08-27 11:13:37 | ------------------------------------

2020-08-27 11:13:37 | [Mutex] isItemNotified: node_r2cic20203:exists :: false

2020-08-27 11:13:37 | [Mutex] waiting for: [node_r2cic20203:create_node]

2020-08-27 11:13:37 | [Mutex] received everything.

2020-08-27 11:13:37 | [Mutex] isItemNotified: node_r2cic20203:create_node:success :: true

2020-08-27 11:13:37 | [Mutex] waiting for: [node_r2cic20203:subscribe_node]

2020-08-27 11:13:37 | [Mutex] received everything.

2020-08-27 11:13:37 | [Mutex] isItemNotified: node_r2cic20203:subscribe_node:success :: true

2020-08-27 11:13:37 |


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


2020-08-27 11:13:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:13:37 | command: <data><node>node_r2cic20203</node><entry><content>content_ok3l0z0204</content></entry></data>

2020-08-27 11:13:37 | target: http://localhost:8088

2020-08-27 11:13:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-27 11:13:37 | entity: <data><node>node_r2cic20203</node><entry><content>content_ok3l0z0204</content></entry></data>

2020-08-27 11:13:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:13:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:13:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1d983e97-b523-4d2a-8492-41d943aea12e</value></item-id></result>

2020-08-27 11:13:37 | contains: true

2020-08-27 11:13:37 | [Mutex] received everything.

2020-08-27 11:13:37 | [Mutex] isItemNotified: user_regularxx7c5k0202@test-domain.com:message:received:content_ok3l0z0204 :: true

2020-08-27 11:13:37 |


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


2020-08-27 11:13:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:13:37 | command: <data><node>node_r2cic20203</node><expire-at>2020-08-27T18:13:32Z</expire-at><entry><content>content_vsob60205</content></entry></data>

2020-08-27 11:13:37 | target: http://localhost:8088

2020-08-27 11:13:37 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2020-08-27 11:13:37 | entity: <data><node>node_r2cic20203</node><expire-at>2020-08-27T18:13:32Z</expire-at><entry><content>content_vsob60205</content></entry></data>

2020-08-27 11:13:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:13:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:13:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7b067d0-98c8-4e9e-a807-0bdddcbc5dc4</value></item-id></result>

2020-08-27 11:13:37 | contains: true

2020-08-27 11:13:37 | [Mutex] waiting for: [user_regularxx7c5k0202@test-domain.com:message:received:content_vsob60205]

2020-08-27 11:13:52 | [Mutex] timeout. Not received [user_regularxx7c5k0202@test-domain.com:message:received:content_vsob60205]

2020-08-27 11:13:52 | [Mutex] isItemNotified: user_regularxx7c5k0202@test-domain.com:message:received:content_vsob60205 :: false

2020-08-27 11:13:52 |


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


2020-08-27 11:13:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:13:52 | command: <data><node>node_r2cic20203</node><entry><content>content_b3f0230206</content></entry></data>

2020-08-27 11:13:52 | target: http://localhost:8088

2020-08-27 11:13:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-08-27 11:13:52 | entity: <data><node>node_r2cic20203</node><entry><content>content_b3f0230206</content></entry></data>

2020-08-27 11:13:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:13:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:13:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>87973268-d006-469b-9f9a-a46cffa5b45d</value></item-id></result>

2020-08-27 11:13:52 | contains: true

2020-08-27 11:13:58 | [Mutex] waiting for: [user_regularxx7c5k0202@test-domain.com:message:received:content_b3f0230206]

2020-08-27 11:13:58 | [Mutex] received everything.

2020-08-27 11:13:58 | [Mutex] isItemNotified: user_regularxx7c5k0202@test-domain.com:message:received:content_b3f0230206 :: true

2020-08-27 11:13:58 |


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


2020-08-27 11:13:58 | [Mutex] received everything.

2020-08-27 11:13:58 | [Mutex] isItemNotified: node_r2cic20203:subscribe_node:success :: true

2020-08-27 11:13:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-08-27 11:13:58 | command: <data><node>node_r2cic20203</node><expire-at>2020-08-27T18:14:03Z</expire-at><entry><content>content_wmzafk0207</content></entry></data>

2020-08-27 11:13:58 | target: http://localhost:8088

2020-08-27 11:13:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-08-27 11:13:58 | entity: <data><node>node_r2cic20203</node><expire-at>2020-08-27T18:14:03Z</expire-at><entry><content>content_wmzafk0207</content></entry></data>

2020-08-27 11:13:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 18:13:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-08-27 11:13:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ea4a36a0-4c2c-48cb-a6d4-f5a3445542fe</value></item-id></result>

2020-08-27 11:13:58 | contains: true

2020-08-27 11:14:06 | [Mutex] waiting for: [user_regularxx7c5k0202@test-domain.com:message:received:content_wmzafk0207]

2020-08-27 11:14:21 | [Mutex] timeout. Not received [user_regularxx7c5k0202@test-domain.com:message:received:content_wmzafk0207]

2020-08-27 11:14:21 | [Mutex] received everything.

2020-08-27 11:14:21 | [Mutex] isItemNotified: user_regularxx7c5k0202@test-domain.com:message:received:content_wmzafk0207 :: false

2020-08-27 11:14:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wmzafk0207 :: true