Generated by TestNG with ReportNG at 22:29 PDT on Wednesday 15 March 2023
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.781s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.654s
2023-03-15 22:44:16 |

2023-03-15 22:44:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-15 22:44:16 | ------------------------------------

2023-03-15 22:44:16 | [Mutex] isItemNotified: node_ew0amr0208:exists :: false

2023-03-15 22:44:16 | [Mutex] waiting for: [node_ew0amr0208:create_node]

2023-03-15 22:44:16 | [Mutex] waiting for: [node_ew0amr0208:create_node]

2023-03-15 22:44:16 | [Mutex] received everything.

2023-03-15 22:44:16 | [Mutex] isItemNotified: node_ew0amr0208:create_node:success :: true

2023-03-15 22:44:16 | [Mutex] waiting for: [node_ew0amr0208:subscribe_node]

2023-03-15 22:44:16 | [Mutex] waiting for: [node_ew0amr0208:subscribe_node]

2023-03-15 22:44:16 | [Mutex] received everything.

2023-03-15 22:44:16 | [Mutex] isItemNotified: node_ew0amr0208:subscribe_node:success :: true

2023-03-15 22:44:16 |


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


2023-03-15 22:44:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:44:16 | command: <data><node>node_ew0amr0208</node><entry><content>content_ilqm620209</content></entry></data>

2023-03-15 22:44:16 | target: http://localhost:8088

2023-03-15 22:44:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-15 22:44:16 | entity: <data><node>node_ew0amr0208</node><entry><content>content_ilqm620209</content></entry></data>

2023-03-15 22:44:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:44:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:44:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2d25ea37-0c63-4b6e-b049-98f7425e2b6e</value></item-id></result>

2023-03-15 22:44:16 | contains: true

2023-03-15 22:44:16 | [Mutex] waiting for: [user_regularclpzmw0207@test-domain.com:message:received:content_ilqm620209]

2023-03-15 22:44:16 | [Mutex] received everything.

2023-03-15 22:44:16 | [Mutex] isItemNotified: user_regularclpzmw0207@test-domain.com:message:received:content_ilqm620209 :: true

2023-03-15 22:44:16 |


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


2023-03-15 22:44:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:44:16 | command: <data><node>node_ew0amr0208</node><expire-at>2023-03-16T05:44:11Z</expire-at><entry><content>content_q23isw0210</content></entry></data>

2023-03-15 22:44:16 | target: http://localhost:8088

2023-03-15 22:44:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-15 22:44:16 | entity: <data><node>node_ew0amr0208</node><expire-at>2023-03-16T05:44:11Z</expire-at><entry><content>content_q23isw0210</content></entry></data>

2023-03-15 22:44:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:44:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:44:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>49f705a1-785e-48d5-a7c8-f6609e4bf2a8</value></item-id></result>

2023-03-15 22:44:17 | contains: true

2023-03-15 22:44:17 | [Mutex] waiting for: [user_regularclpzmw0207@test-domain.com:message:received:content_q23isw0210]

2023-03-15 22:44:32 | [Mutex] timeout. Not received [user_regularclpzmw0207@test-domain.com:message:received:content_q23isw0210]

2023-03-15 22:44:32 | [Mutex] isItemNotified: user_regularclpzmw0207@test-domain.com:message:received:content_q23isw0210 :: false

2023-03-15 22:44:32 |


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


2023-03-15 22:44:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:44:32 | command: <data><node>node_ew0amr0208</node><entry><content>content_lsep8s0211</content></entry></data>

2023-03-15 22:44:32 | target: http://localhost:8088

2023-03-15 22:44:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-15 22:44:32 | entity: <data><node>node_ew0amr0208</node><entry><content>content_lsep8s0211</content></entry></data>

2023-03-15 22:44:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:44:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:44:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3ff8d3c7-5e9e-48ca-94c5-8bd1a8c6d7d0</value></item-id></result>

2023-03-15 22:44:32 | contains: true

2023-03-15 22:44:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-15 22:44:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-03-15 22:44:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-15 22:44:37 | [Mutex] waiting for: [user_regularclpzmw0207@test-domain.com:message:received:content_lsep8s0211]

2023-03-15 22:44:37 | [Mutex] waiting for: [user_regularclpzmw0207@test-domain.com:message:received:content_lsep8s0211]

2023-03-15 22:44:37 | [Mutex] received everything.

2023-03-15 22:44:37 | [Mutex] isItemNotified: user_regularclpzmw0207@test-domain.com:message:received:content_lsep8s0211 :: true

2023-03-15 22:44:37 |


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


2023-03-15 22:44:37 | [Mutex] received everything.

2023-03-15 22:44:37 | [Mutex] isItemNotified: node_ew0amr0208:subscribe_node:success :: true

2023-03-15 22:44:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-15 22:44:37 | command: <data><node>node_ew0amr0208</node><expire-at>2023-03-16T05:44:42Z</expire-at><entry><content>content_6elzvc0212</content></entry></data>

2023-03-15 22:44:37 | target: http://localhost:8088

2023-03-15 22:44:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-15 22:44:37 | entity: <data><node>node_ew0amr0208</node><expire-at>2023-03-16T05:44:42Z</expire-at><entry><content>content_6elzvc0212</content></entry></data>

2023-03-15 22:44:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Mar 2023 05:44:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-15 22:44:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b5cd9ad6-1114-40d5-9492-fe37123f70b9</value></item-id></result>

2023-03-15 22:44:37 | contains: true

2023-03-15 22:44:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-15 22:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-03-15 22:44:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-15 22:44:45 | [Mutex] waiting for: [user_regularclpzmw0207@test-domain.com:message:received:content_6elzvc0212]

2023-03-15 22:44:45 | [Mutex] waiting for: [user_regularclpzmw0207@test-domain.com:message:received:content_6elzvc0212]

2023-03-15 22:44:45 | [Mutex] waiting for: [user_regularclpzmw0207@test-domain.com:message:received:content_6elzvc0212]

2023-03-15 22:45:00 | [Mutex] timeout. Not received [user_regularclpzmw0207@test-domain.com:message:received:content_6elzvc0212]

2023-03-15 22:45:00 | [Mutex] received everything.

2023-03-15 22:45:00 | [Mutex] isItemNotified: user_regularclpzmw0207@test-domain.com:message:received:content_6elzvc0212 :: false

2023-03-15 22:45:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_6elzvc0212 :: true