Generated by TestNG with ReportNG at 22:19 PDT on Sunday 28 August 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.886s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.592s
2022-08-28 22:34:02 |

2022-08-28 22:34:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-28 22:34:02 | ------------------------------------

2022-08-28 22:34:02 | [Mutex] isItemNotified: node_7r4lv10204:exists :: false

2022-08-28 22:34:02 | [Mutex] waiting for: [node_7r4lv10204:create_node]

2022-08-28 22:34:02 | [Mutex] received everything.

2022-08-28 22:34:02 | [Mutex] isItemNotified: node_7r4lv10204:create_node:success :: true

2022-08-28 22:34:02 | [Mutex] waiting for: [node_7r4lv10204:subscribe_node]

2022-08-28 22:34:02 | [Mutex] waiting for: [node_7r4lv10204:subscribe_node]

2022-08-28 22:34:02 | [Mutex] received everything.

2022-08-28 22:34:02 | [Mutex] isItemNotified: node_7r4lv10204:subscribe_node:success :: true

2022-08-28 22:34:02 |


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


2022-08-28 22:34:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:34:02 | command: <data><node>node_7r4lv10204</node><entry><content>content_p8p3wo0205</content></entry></data>

2022-08-28 22:34:02 | target: http://localhost:8088

2022-08-28 22:34:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-28 22:34:02 | entity: <data><node>node_7r4lv10204</node><entry><content>content_p8p3wo0205</content></entry></data>

2022-08-28 22:34:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:34:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:34:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92bb30ea-f675-4e59-8d37-d678cc724a91</value></item-id></result>

2022-08-28 22:34:02 | contains: true

2022-08-28 22:34:02 | [Mutex] received everything.

2022-08-28 22:34:02 | [Mutex] isItemNotified: user_regular5def4d0203@test-domain.com:message:received:content_p8p3wo0205 :: true

2022-08-28 22:34:02 |


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


2022-08-28 22:34:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:34:02 | command: <data><node>node_7r4lv10204</node><expire-at>2022-08-29T05:33:57Z</expire-at><entry><content>content_b5edr80206</content></entry></data>

2022-08-28 22:34:02 | target: http://localhost:8088

2022-08-28 22:34:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-28 22:34:02 | entity: <data><node>node_7r4lv10204</node><expire-at>2022-08-29T05:33:57Z</expire-at><entry><content>content_b5edr80206</content></entry></data>

2022-08-28 22:34:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:34:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:34:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51538533-1f70-42b0-b801-8fddc70b2443</value></item-id></result>

2022-08-28 22:34:02 | contains: true

2022-08-28 22:34:02 | [Mutex] waiting for: [user_regular5def4d0203@test-domain.com:message:received:content_b5edr80206]

2022-08-28 22:34:17 | [Mutex] timeout. Not received [user_regular5def4d0203@test-domain.com:message:received:content_b5edr80206]

2022-08-28 22:34:17 | [Mutex] isItemNotified: user_regular5def4d0203@test-domain.com:message:received:content_b5edr80206 :: false

2022-08-28 22:34:17 |


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


2022-08-28 22:34:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:34:17 | command: <data><node>node_7r4lv10204</node><entry><content>content_1ustfe0207</content></entry></data>

2022-08-28 22:34:17 | target: http://localhost:8088

2022-08-28 22:34:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-28 22:34:17 | entity: <data><node>node_7r4lv10204</node><entry><content>content_1ustfe0207</content></entry></data>

2022-08-28 22:34:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:34:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:34:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d3e2fe69-0559-4059-976d-5719895581fe</value></item-id></result>

2022-08-28 22:34:17 | contains: true

2022-08-28 22:34:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-28 22:34:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-28 22:34:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-28 22:34:23 | [Mutex] waiting for: [user_regular5def4d0203@test-domain.com:message:received:content_1ustfe0207]

2022-08-28 22:34:23 | [Mutex] received everything.

2022-08-28 22:34:23 | [Mutex] isItemNotified: user_regular5def4d0203@test-domain.com:message:received:content_1ustfe0207 :: true

2022-08-28 22:34:23 |


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


2022-08-28 22:34:23 | [Mutex] received everything.

2022-08-28 22:34:23 | [Mutex] isItemNotified: node_7r4lv10204:subscribe_node:success :: true

2022-08-28 22:34:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-28 22:34:23 | command: <data><node>node_7r4lv10204</node><expire-at>2022-08-29T05:34:28Z</expire-at><entry><content>content_nzl8n40208</content></entry></data>

2022-08-28 22:34:23 | target: http://localhost:8088

2022-08-28 22:34:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-28 22:34:23 | entity: <data><node>node_7r4lv10204</node><expire-at>2022-08-29T05:34:28Z</expire-at><entry><content>content_nzl8n40208</content></entry></data>

2022-08-28 22:34:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 29 Aug 2022 05:34:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-28 22:34:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92db812f-4d65-4cb0-af8a-f0ebd31ea157</value></item-id></result>

2022-08-28 22:34:23 | contains: true

2022-08-28 22:34:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-28 22:34:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-28 22:34:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-28 22:34:31 | [Mutex] waiting for: [user_regular5def4d0203@test-domain.com:message:received:content_nzl8n40208]

2022-08-28 22:34:31 | [Mutex] waiting for: [user_regular5def4d0203@test-domain.com:message:received:content_nzl8n40208]

2022-08-28 22:34:46 | [Mutex] timeout. Not received [user_regular5def4d0203@test-domain.com:message:received:content_nzl8n40208]

2022-08-28 22:34:46 | [Mutex] received everything.

2022-08-28 22:34:46 | [Mutex] isItemNotified: user_regular5def4d0203@test-domain.com:message:received:content_nzl8n40208 :: false

2022-08-28 22:34:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nzl8n40208 :: true