Generated by TestNG with ReportNG at 23:15 PDT on Thursday 28 September 2023
root@8dfa9d99ff97 / 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.464s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.596s
2023-09-28 23:29:51 |

2023-09-28 23:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-09-28 23:29:51 | ------------------------------------

2023-09-28 23:29:51 | [Mutex] isItemNotified: node_n1vy130208:exists :: false

2023-09-28 23:29:51 | [Mutex] waiting for: [node_n1vy130208:create_node]

2023-09-28 23:29:51 | [Mutex] received everything.

2023-09-28 23:29:51 | [Mutex] isItemNotified: node_n1vy130208:create_node:success :: true

2023-09-28 23:29:51 | [Mutex] waiting for: [node_n1vy130208:subscribe_node]

2023-09-28 23:29:51 | [Mutex] waiting for: [node_n1vy130208:subscribe_node]

2023-09-28 23:29:51 | [Mutex] received everything.

2023-09-28 23:29:51 | [Mutex] isItemNotified: node_n1vy130208:subscribe_node:success :: true

2023-09-28 23:29:51 |


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


2023-09-28 23:29:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-28 23:29:51 | command: <data><node>node_n1vy130208</node><entry><content>content_mrgx6l0209</content></entry></data>

2023-09-28 23:29:51 | target: http://localhost:8088

2023-09-28 23:29:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-09-28 23:29:51 | entity: <data><node>node_n1vy130208</node><entry><content>content_mrgx6l0209</content></entry></data>

2023-09-28 23:29:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 06:29:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-28 23:29:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c35b6646-15e8-4028-ba40-c9be42a8efef</value></item-id></result>

2023-09-28 23:29:51 | contains: true

2023-09-28 23:29:51 | [Mutex] received everything.

2023-09-28 23:29:51 | [Mutex] isItemNotified: user_regularg8v6s10207@test-domain.com:message:received:content_mrgx6l0209 :: true

2023-09-28 23:29:51 |


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


2023-09-28 23:29:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-28 23:29:51 | command: <data><node>node_n1vy130208</node><expire-at>2023-09-29T06:29:46Z</expire-at><entry><content>content_cxc6ol0210</content></entry></data>

2023-09-28 23:29:51 | target: http://localhost:8088

2023-09-28 23:29:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-09-28 23:29:51 | entity: <data><node>node_n1vy130208</node><expire-at>2023-09-29T06:29:46Z</expire-at><entry><content>content_cxc6ol0210</content></entry></data>

2023-09-28 23:29:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 06:29:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-28 23:29:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5a5606e7-0976-4d77-82d0-c989908113ca</value></item-id></result>

2023-09-28 23:29:51 | contains: true

2023-09-28 23:29:51 | [Mutex] waiting for: [user_regularg8v6s10207@test-domain.com:message:received:content_cxc6ol0210]

2023-09-28 23:30:06 | [Mutex] timeout. Not received [user_regularg8v6s10207@test-domain.com:message:received:content_cxc6ol0210]

2023-09-28 23:30:06 | [Mutex] isItemNotified: user_regularg8v6s10207@test-domain.com:message:received:content_cxc6ol0210 :: false

2023-09-28 23:30:06 |


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


2023-09-28 23:30:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-28 23:30:06 | command: <data><node>node_n1vy130208</node><entry><content>content_li7mhc0211</content></entry></data>

2023-09-28 23:30:06 | target: http://localhost:8088

2023-09-28 23:30:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-09-28 23:30:06 | entity: <data><node>node_n1vy130208</node><entry><content>content_li7mhc0211</content></entry></data>

2023-09-28 23:30:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 06:30:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-28 23:30:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91721ff2-d0c8-4d93-8e85-b66681b6c66a</value></item-id></result>

2023-09-28 23:30:06 | contains: true

2023-09-28 23:30:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-09-28 23:30:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-09-28 23:30:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-09-28 23:30:11 | [Mutex] waiting for: [user_regularg8v6s10207@test-domain.com:message:received:content_li7mhc0211]

2023-09-28 23:30:11 | [Mutex] waiting for: [user_regularg8v6s10207@test-domain.com:message:received:content_li7mhc0211]

2023-09-28 23:30:11 | [Mutex] received everything.

2023-09-28 23:30:11 | [Mutex] isItemNotified: user_regularg8v6s10207@test-domain.com:message:received:content_li7mhc0211 :: true

2023-09-28 23:30:11 |


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


2023-09-28 23:30:11 | [Mutex] received everything.

2023-09-28 23:30:11 | [Mutex] isItemNotified: node_n1vy130208:subscribe_node:success :: true

2023-09-28 23:30:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-09-28 23:30:11 | command: <data><node>node_n1vy130208</node><expire-at>2023-09-29T06:30:16Z</expire-at><entry><content>content_w8q3xl0212</content></entry></data>

2023-09-28 23:30:11 | target: http://localhost:8088

2023-09-28 23:30:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-09-28 23:30:11 | entity: <data><node>node_n1vy130208</node><expire-at>2023-09-29T06:30:16Z</expire-at><entry><content>content_w8q3xl0212</content></entry></data>

2023-09-28 23:30:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Sep 2023 06:30:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-09-28 23:30:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51fc6e82-4783-4115-8c34-fc1f2bddebd5</value></item-id></result>

2023-09-28 23:30:11 | contains: true

2023-09-28 23:30:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-09-28 23:30:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-09-28 23:30:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-09-28 23:30:19 | [Mutex] waiting for: [user_regularg8v6s10207@test-domain.com:message:received:content_w8q3xl0212]

2023-09-28 23:30:34 | [Mutex] timeout. Not received [user_regularg8v6s10207@test-domain.com:message:received:content_w8q3xl0212]

2023-09-28 23:30:34 | [Mutex] received everything.

2023-09-28 23:30:34 | [Mutex] isItemNotified: user_regularg8v6s10207@test-domain.com:message:received:content_w8q3xl0212 :: false

2023-09-28 23:30:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w8q3xl0212 :: true