Generated by TestNG with ReportNG at 22:15 PDT on Thursday 23 March 2023
root@ed1b7dd8a1b3 / 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.882s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.656s
2023-03-23 22:30:45 |

2023-03-23 22:30:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-23 22:30:45 | ------------------------------------

2023-03-23 22:30:45 | [Mutex] isItemNotified: node_5yjeli0208:exists :: false

2023-03-23 22:30:45 | [Mutex] waiting for: [node_5yjeli0208:create_node]

2023-03-23 22:30:45 | [Mutex] received everything.

2023-03-23 22:30:45 | [Mutex] isItemNotified: node_5yjeli0208:create_node:success :: true

2023-03-23 22:30:45 | [Mutex] waiting for: [node_5yjeli0208:subscribe_node]

2023-03-23 22:30:45 | [Mutex] waiting for: [node_5yjeli0208:subscribe_node]

2023-03-23 22:30:45 | [Mutex] received everything.

2023-03-23 22:30:45 | [Mutex] isItemNotified: node_5yjeli0208:subscribe_node:success :: true

2023-03-23 22:30:45 |


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


2023-03-23 22:30:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:45 | command: <data><node>node_5yjeli0208</node><entry><content>content_bcy1dy0209</content></entry></data>

2023-03-23 22:30:45 | target: http://localhost:8088

2023-03-23 22:30:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-23 22:30:45 | entity: <data><node>node_5yjeli0208</node><entry><content>content_bcy1dy0209</content></entry></data>

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

2023-03-23 22:30:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3e9540e5-2c5e-4a12-9ebf-42f6cf188a15</value></item-id></result>

2023-03-23 22:30:45 | contains: true

2023-03-23 22:30:45 | [Mutex] waiting for: [user_regulartz885p0207@test-domain.com:message:received:content_bcy1dy0209]

2023-03-23 22:30:45 | [Mutex] received everything.

2023-03-23 22:30:45 | [Mutex] isItemNotified: user_regulartz885p0207@test-domain.com:message:received:content_bcy1dy0209 :: true

2023-03-23 22:30:45 |


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


2023-03-23 22:30:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:30:45 | command: <data><node>node_5yjeli0208</node><expire-at>2023-03-24T05:30:40Z</expire-at><entry><content>content_9qgzw30210</content></entry></data>

2023-03-23 22:30:45 | target: http://localhost:8088

2023-03-23 22:30:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-23 22:30:45 | entity: <data><node>node_5yjeli0208</node><expire-at>2023-03-24T05:30:40Z</expire-at><entry><content>content_9qgzw30210</content></entry></data>

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

2023-03-23 22:30:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>afc8db8d-f42b-4fc9-b15e-ff9eaef9258c</value></item-id></result>

2023-03-23 22:30:45 | contains: true

2023-03-23 22:30:45 | [Mutex] waiting for: [user_regulartz885p0207@test-domain.com:message:received:content_9qgzw30210]

2023-03-23 22:31:00 | [Mutex] timeout. Not received [user_regulartz885p0207@test-domain.com:message:received:content_9qgzw30210]

2023-03-23 22:31:00 | [Mutex] isItemNotified: user_regulartz885p0207@test-domain.com:message:received:content_9qgzw30210 :: false

2023-03-23 22:31:00 |


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


2023-03-23 22:31:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:31:00 | command: <data><node>node_5yjeli0208</node><entry><content>content_a8zh4x0211</content></entry></data>

2023-03-23 22:31:00 | target: http://localhost:8088

2023-03-23 22:31:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-23 22:31:00 | entity: <data><node>node_5yjeli0208</node><entry><content>content_a8zh4x0211</content></entry></data>

2023-03-23 22:31:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:31:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:31:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>88644766-fc6e-47b9-9744-5b7c040f20b9</value></item-id></result>

2023-03-23 22:31:00 | contains: true

2023-03-23 22:31:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-23 22:31:05 | [Mutex] waiting for: [user_regulartz885p0207@test-domain.com:message:received:content_a8zh4x0211]

2023-03-23 22:31:05 | [Mutex] waiting for: [user_regulartz885p0207@test-domain.com:message:received:content_a8zh4x0211]

2023-03-23 22:31:05 | [Mutex] received everything.

2023-03-23 22:31:05 | [Mutex] isItemNotified: user_regulartz885p0207@test-domain.com:message:received:content_a8zh4x0211 :: true

2023-03-23 22:31:05 |


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


2023-03-23 22:31:05 | [Mutex] received everything.

2023-03-23 22:31:05 | [Mutex] isItemNotified: node_5yjeli0208:subscribe_node:success :: true

2023-03-23 22:31:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-23 22:31:05 | command: <data><node>node_5yjeli0208</node><expire-at>2023-03-24T05:31:10Z</expire-at><entry><content>content_ukbi4r0212</content></entry></data>

2023-03-23 22:31:05 | target: http://localhost:8088

2023-03-23 22:31:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-23 22:31:05 | entity: <data><node>node_5yjeli0208</node><expire-at>2023-03-24T05:31:10Z</expire-at><entry><content>content_ukbi4r0212</content></entry></data>

2023-03-23 22:31:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Mar 2023 05:31:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-23 22:31:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>64ee693d-e78c-4a43-b56e-b4e3da64a470</value></item-id></result>

2023-03-23 22:31:05 | contains: true

2023-03-23 22:31:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-23 22:31:13 | [Mutex] waiting for: [user_regulartz885p0207@test-domain.com:message:received:content_ukbi4r0212]

2023-03-23 22:31:28 | [Mutex] timeout. Not received [user_regulartz885p0207@test-domain.com:message:received:content_ukbi4r0212]

2023-03-23 22:31:28 | [Mutex] received everything.

2023-03-23 22:31:28 | [Mutex] isItemNotified: user_regulartz885p0207@test-domain.com:message:received:content_ukbi4r0212 :: false

2023-03-23 22:31:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ukbi4r0212 :: true