Generated by TestNG with ReportNG at 22:19 PDT on Wednesday 24 August 2022
root@f9c07ffec79b / 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.539s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.525s
2022-08-24 22:34:30 |

2022-08-24 22:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-24 22:34:30 | ------------------------------------

2022-08-24 22:34:30 | [Mutex] isItemNotified: node_7it8zm0204:exists :: false

2022-08-24 22:34:30 | [Mutex] waiting for: [node_7it8zm0204:create_node]

2022-08-24 22:34:30 | [Mutex] received everything.

2022-08-24 22:34:30 | [Mutex] isItemNotified: node_7it8zm0204:create_node:success :: true

2022-08-24 22:34:30 | [Mutex] waiting for: [node_7it8zm0204:subscribe_node]

2022-08-24 22:34:30 | [Mutex] waiting for: [node_7it8zm0204:subscribe_node]

2022-08-24 22:34:30 | [Mutex] received everything.

2022-08-24 22:34:30 | [Mutex] isItemNotified: node_7it8zm0204:subscribe_node:success :: true

2022-08-24 22:34:30 |


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


2022-08-24 22:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-24 22:34:30 | command: <data><node>node_7it8zm0204</node><entry><content>content_u86c190205</content></entry></data>

2022-08-24 22:34:30 | target: http://localhost:8088

2022-08-24 22:34:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-24 22:34:30 | entity: <data><node>node_7it8zm0204</node><entry><content>content_u86c190205</content></entry></data>

2022-08-24 22:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 22:34:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>813ef878-30e5-4e2c-a506-3a380303d7cb</value></item-id></result>

2022-08-24 22:34:30 | contains: true

2022-08-24 22:34:30 | [Mutex] received everything.

2022-08-24 22:34:30 | [Mutex] isItemNotified: user_regularsa86ih0203@test-domain.com:message:received:content_u86c190205 :: true

2022-08-24 22:34:30 |


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


2022-08-24 22:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-24 22:34:30 | command: <data><node>node_7it8zm0204</node><expire-at>2022-08-25T05:34:25Z</expire-at><entry><content>content_db3fvt0206</content></entry></data>

2022-08-24 22:34:30 | target: http://localhost:8088

2022-08-24 22:34:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-24 22:34:30 | entity: <data><node>node_7it8zm0204</node><expire-at>2022-08-25T05:34:25Z</expire-at><entry><content>content_db3fvt0206</content></entry></data>

2022-08-24 22:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 22:34:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b30f20d6-0465-4ea6-80a7-fd899a44ef40</value></item-id></result>

2022-08-24 22:34:30 | contains: true

2022-08-24 22:34:30 | [Mutex] waiting for: [user_regularsa86ih0203@test-domain.com:message:received:content_db3fvt0206]

2022-08-24 22:34:45 | [Mutex] timeout. Not received [user_regularsa86ih0203@test-domain.com:message:received:content_db3fvt0206]

2022-08-24 22:34:45 | [Mutex] isItemNotified: user_regularsa86ih0203@test-domain.com:message:received:content_db3fvt0206 :: false

2022-08-24 22:34:45 |


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


2022-08-24 22:34:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-24 22:34:45 | command: <data><node>node_7it8zm0204</node><entry><content>content_kiv8he0207</content></entry></data>

2022-08-24 22:34:45 | target: http://localhost:8088

2022-08-24 22:34:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-24 22:34:45 | entity: <data><node>node_7it8zm0204</node><entry><content>content_kiv8he0207</content></entry></data>

2022-08-24 22:34:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 22:34:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>96d1784b-1558-4a36-bf72-f67dd827d13b</value></item-id></result>

2022-08-24 22:34:45 | contains: true

2022-08-24 22:34:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-24 22:34:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-24 22:34:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-24 22:34:51 | [Mutex] received everything.

2022-08-24 22:34:51 | [Mutex] isItemNotified: user_regularsa86ih0203@test-domain.com:message:received:content_kiv8he0207 :: true

2022-08-24 22:34:51 |


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


2022-08-24 22:34:51 | [Mutex] received everything.

2022-08-24 22:34:51 | [Mutex] isItemNotified: node_7it8zm0204:subscribe_node:success :: true

2022-08-24 22:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-24 22:34:51 | command: <data><node>node_7it8zm0204</node><expire-at>2022-08-25T05:34:56Z</expire-at><entry><content>content_or4lfk0208</content></entry></data>

2022-08-24 22:34:51 | target: http://localhost:8088

2022-08-24 22:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-24 22:34:51 | entity: <data><node>node_7it8zm0204</node><expire-at>2022-08-25T05:34:56Z</expire-at><entry><content>content_or4lfk0208</content></entry></data>

2022-08-24 22:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Aug 2022 05:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-24 22:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1514d8e7-cb47-4ce4-ab41-ba42fea7f8c3</value></item-id></result>

2022-08-24 22:34:51 | contains: true

2022-08-24 22:34:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-24 22:34:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-24 22:34:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-24 22:34:59 | [Mutex] waiting for: [user_regularsa86ih0203@test-domain.com:message:received:content_or4lfk0208]

2022-08-24 22:34:59 | [Mutex] waiting for: [user_regularsa86ih0203@test-domain.com:message:received:content_or4lfk0208]

2022-08-24 22:35:14 | [Mutex] timeout. Not received [user_regularsa86ih0203@test-domain.com:message:received:content_or4lfk0208]

2022-08-24 22:35:14 | [Mutex] received everything.

2022-08-24 22:35:14 | [Mutex] isItemNotified: user_regularsa86ih0203@test-domain.com:message:received:content_or4lfk0208 :: false

2022-08-24 22:35:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_or4lfk0208 :: true