Generated by TestNG with ReportNG at 22:15 PDT on Thursday 04 May 2023
root@1512af24e4a5 / Java 17.0.6 (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.627s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.589s
2023-05-04 22:30:02 |

2023-05-04 22:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-04 22:30:02 | ------------------------------------

2023-05-04 22:30:02 | [Mutex] isItemNotified: node_bhsvk00208:exists :: false

2023-05-04 22:30:02 | [Mutex] waiting for: [node_bhsvk00208:create_node]

2023-05-04 22:30:02 | [Mutex] received everything.

2023-05-04 22:30:02 | [Mutex] isItemNotified: node_bhsvk00208:create_node:success :: true

2023-05-04 22:30:02 | [Mutex] waiting for: [node_bhsvk00208:subscribe_node]

2023-05-04 22:30:02 | [Mutex] waiting for: [node_bhsvk00208:subscribe_node]

2023-05-04 22:30:02 | [Mutex] received everything.

2023-05-04 22:30:02 | [Mutex] isItemNotified: node_bhsvk00208:subscribe_node:success :: true

2023-05-04 22:30:02 |


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


2023-05-04 22:30:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:30:02 | command: <data><node>node_bhsvk00208</node><entry><content>content_20xgex0209</content></entry></data>

2023-05-04 22:30:02 | target: http://localhost:8088

2023-05-04 22:30:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-04 22:30:02 | entity: <data><node>node_bhsvk00208</node><entry><content>content_20xgex0209</content></entry></data>

2023-05-04 22:30:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:30:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bd2163b7-fdfe-4d4a-9ce1-e81b9101fff9</value></item-id></result>

2023-05-04 22:30:02 | contains: true

2023-05-04 22:30:02 | [Mutex] waiting for: [user_regularphfbl20207@test-domain.com:message:received:content_20xgex0209]

2023-05-04 22:30:02 | [Mutex] received everything.

2023-05-04 22:30:02 | [Mutex] isItemNotified: user_regularphfbl20207@test-domain.com:message:received:content_20xgex0209 :: true

2023-05-04 22:30:02 |


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


2023-05-04 22:30:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:30:02 | command: <data><node>node_bhsvk00208</node><expire-at>2023-05-05T05:29:57Z</expire-at><entry><content>content_ur4i3l0210</content></entry></data>

2023-05-04 22:30:02 | target: http://localhost:8088

2023-05-04 22:30:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-04 22:30:02 | entity: <data><node>node_bhsvk00208</node><expire-at>2023-05-05T05:29:57Z</expire-at><entry><content>content_ur4i3l0210</content></entry></data>

2023-05-04 22:30:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:30:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7bb0bb6d-7196-4f9d-8d74-30d927c3a30a</value></item-id></result>

2023-05-04 22:30:02 | contains: true

2023-05-04 22:30:02 | [Mutex] waiting for: [user_regularphfbl20207@test-domain.com:message:received:content_ur4i3l0210]

2023-05-04 22:30:17 | [Mutex] timeout. Not received [user_regularphfbl20207@test-domain.com:message:received:content_ur4i3l0210]

2023-05-04 22:30:17 | [Mutex] isItemNotified: user_regularphfbl20207@test-domain.com:message:received:content_ur4i3l0210 :: false

2023-05-04 22:30:17 |


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


2023-05-04 22:30:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:30:17 | command: <data><node>node_bhsvk00208</node><entry><content>content_tsto640211</content></entry></data>

2023-05-04 22:30:17 | target: http://localhost:8088

2023-05-04 22:30:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-04 22:30:17 | entity: <data><node>node_bhsvk00208</node><entry><content>content_tsto640211</content></entry></data>

2023-05-04 22:30:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:30:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>19612c70-91bf-46ae-9d4e-93ba49730622</value></item-id></result>

2023-05-04 22:30:17 | contains: true

2023-05-04 22:30:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-05-04 22:30:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-04 22:30:22 | [Mutex] waiting for: [user_regularphfbl20207@test-domain.com:message:received:content_tsto640211]

2023-05-04 22:30:22 | [Mutex] waiting for: [user_regularphfbl20207@test-domain.com:message:received:content_tsto640211]

2023-05-04 22:30:22 | [Mutex] received everything.

2023-05-04 22:30:22 | [Mutex] isItemNotified: user_regularphfbl20207@test-domain.com:message:received:content_tsto640211 :: true

2023-05-04 22:30:22 |


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


2023-05-04 22:30:22 | [Mutex] received everything.

2023-05-04 22:30:22 | [Mutex] isItemNotified: node_bhsvk00208:subscribe_node:success :: true

2023-05-04 22:30:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-04 22:30:22 | command: <data><node>node_bhsvk00208</node><expire-at>2023-05-05T05:30:27Z</expire-at><entry><content>content_rdjlv0212</content></entry></data>

2023-05-04 22:30:22 | target: http://localhost:8088

2023-05-04 22:30:22 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-05-04 22:30:22 | entity: <data><node>node_bhsvk00208</node><expire-at>2023-05-05T05:30:27Z</expire-at><entry><content>content_rdjlv0212</content></entry></data>

2023-05-04 22:30:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 May 2023 05:30:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-04 22:30:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8780167e-3a59-4812-a55f-b74d1f5064ac</value></item-id></result>

2023-05-04 22:30:22 | contains: true

2023-05-04 22:30:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-05-04 22:30:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-04 22:30:30 | [Mutex] waiting for: [user_regularphfbl20207@test-domain.com:message:received:content_rdjlv0212]

2023-05-04 22:30:45 | [Mutex] timeout. Not received [user_regularphfbl20207@test-domain.com:message:received:content_rdjlv0212]

2023-05-04 22:30:45 | [Mutex] received everything.

2023-05-04 22:30:45 | [Mutex] isItemNotified: user_regularphfbl20207@test-domain.com:message:received:content_rdjlv0212 :: false

2023-05-04 22:30:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rdjlv0212 :: true