Generated by TestNG with ReportNG at 22:46 PDT on Friday 25 August 2023
root@c198f8de0a9c / Java 17.0.8 (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.680s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2023-08-25 23:01:14 |

2023-08-25 23:01:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-08-25 23:01:14 | ------------------------------------

2023-08-25 23:01:14 | [Mutex] isItemNotified: node_tku1l20208:exists :: false

2023-08-25 23:01:14 | [Mutex] waiting for: [node_tku1l20208:create_node]

2023-08-25 23:01:14 | [Mutex] waiting for: [node_tku1l20208:create_node]

2023-08-25 23:01:14 | [Mutex] received everything.

2023-08-25 23:01:14 | [Mutex] isItemNotified: node_tku1l20208:create_node:success :: true

2023-08-25 23:01:14 | [Mutex] waiting for: [node_tku1l20208:subscribe_node]

2023-08-25 23:01:14 | [Mutex] waiting for: [node_tku1l20208:subscribe_node]

2023-08-25 23:01:14 | [Mutex] received everything.

2023-08-25 23:01:14 | [Mutex] isItemNotified: node_tku1l20208:subscribe_node:success :: true

2023-08-25 23:01:14 |


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


2023-08-25 23:01:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:01:14 | command: <data><node>node_tku1l20208</node><entry><content>content_1yipcq0209</content></entry></data>

2023-08-25 23:01:14 | target: http://localhost:8088

2023-08-25 23:01:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 23:01:14 | entity: <data><node>node_tku1l20208</node><entry><content>content_1yipcq0209</content></entry></data>

2023-08-25 23:01:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:01:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:01:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c944bf75-ba8a-4a70-931e-478a9ad9c67c</value></item-id></result>

2023-08-25 23:01:14 | contains: true

2023-08-25 23:01:14 | [Mutex] waiting for: [user_regularzf3clo0207@test-domain.com:message:received:content_1yipcq0209]

2023-08-25 23:01:14 | [Mutex] received everything.

2023-08-25 23:01:14 | [Mutex] isItemNotified: user_regularzf3clo0207@test-domain.com:message:received:content_1yipcq0209 :: true

2023-08-25 23:01:14 |


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


2023-08-25 23:01:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:01:14 | command: <data><node>node_tku1l20208</node><expire-at>2023-08-26T06:01:09Z</expire-at><entry><content>content_krue0t0210</content></entry></data>

2023-08-25 23:01:14 | target: http://localhost:8088

2023-08-25 23:01:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 23:01:14 | entity: <data><node>node_tku1l20208</node><expire-at>2023-08-26T06:01:09Z</expire-at><entry><content>content_krue0t0210</content></entry></data>

2023-08-25 23:01:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:01:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:01:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f5c5678-f328-4ba2-bc9f-b45315ca641b</value></item-id></result>

2023-08-25 23:01:14 | contains: true

2023-08-25 23:01:14 | [Mutex] waiting for: [user_regularzf3clo0207@test-domain.com:message:received:content_krue0t0210]

2023-08-25 23:01:29 | [Mutex] timeout. Not received [user_regularzf3clo0207@test-domain.com:message:received:content_krue0t0210]

2023-08-25 23:01:29 | [Mutex] isItemNotified: user_regularzf3clo0207@test-domain.com:message:received:content_krue0t0210 :: false

2023-08-25 23:01:29 |


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


2023-08-25 23:01:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:01:29 | command: <data><node>node_tku1l20208</node><entry><content>content_yk2wj50211</content></entry></data>

2023-08-25 23:01:29 | target: http://localhost:8088

2023-08-25 23:01:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-08-25 23:01:29 | entity: <data><node>node_tku1l20208</node><entry><content>content_yk2wj50211</content></entry></data>

2023-08-25 23:01:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:01:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:01:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>db45aee8-7da2-480e-9b51-00dc4676ef12</value></item-id></result>

2023-08-25 23:01:29 | contains: true

2023-08-25 23:01:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-25 23:01:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-08-25 23:01:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-25 23:01:34 | [Mutex] waiting for: [user_regularzf3clo0207@test-domain.com:message:received:content_yk2wj50211]

2023-08-25 23:01:34 | [Mutex] waiting for: [user_regularzf3clo0207@test-domain.com:message:received:content_yk2wj50211]

2023-08-25 23:01:34 | [Mutex] received everything.

2023-08-25 23:01:34 | [Mutex] isItemNotified: user_regularzf3clo0207@test-domain.com:message:received:content_yk2wj50211 :: true

2023-08-25 23:01:34 |


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


2023-08-25 23:01:34 | [Mutex] received everything.

2023-08-25 23:01:34 | [Mutex] isItemNotified: node_tku1l20208:subscribe_node:success :: true

2023-08-25 23:01:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-08-25 23:01:34 | command: <data><node>node_tku1l20208</node><expire-at>2023-08-26T06:01:39Z</expire-at><entry><content>content_658gni0212</content></entry></data>

2023-08-25 23:01:34 | target: http://localhost:8088

2023-08-25 23:01:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-08-25 23:01:34 | entity: <data><node>node_tku1l20208</node><expire-at>2023-08-26T06:01:39Z</expire-at><entry><content>content_658gni0212</content></entry></data>

2023-08-25 23:01:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Aug 2023 06:01:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-08-25 23:01:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>933607cb-c4d1-49df-adac-9b68de98dd5d</value></item-id></result>

2023-08-25 23:01:34 | contains: true

2023-08-25 23:01:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-08-25 23:01:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-08-25 23:01:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-08-25 23:01:42 | [Mutex] waiting for: [user_regularzf3clo0207@test-domain.com:message:received:content_658gni0212]

2023-08-25 23:01:42 | [Mutex] waiting for: [user_regularzf3clo0207@test-domain.com:message:received:content_658gni0212]

2023-08-25 23:01:57 | [Mutex] timeout. Not received [user_regularzf3clo0207@test-domain.com:message:received:content_658gni0212]

2023-08-25 23:01:57 | [Mutex] received everything.

2023-08-25 23:01:57 | [Mutex] isItemNotified: user_regularzf3clo0207@test-domain.com:message:received:content_658gni0212 :: false

2023-08-25 23:01:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_658gni0212 :: true