Generated by TestNG with ReportNG at 22:48 PDT on Sunday 27 March 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.144s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.669s
2022-03-27 23:01:42 |

2022-03-27 23:01:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-03-27 23:01:42 | ------------------------------------

2022-03-27 23:01:42 | [Mutex] isItemNotified: node_tlw8pi0202:exists :: false

2022-03-27 23:01:42 | [Mutex] waiting for: [node_tlw8pi0202:create_node]

2022-03-27 23:01:42 | [Mutex] received everything.

2022-03-27 23:01:42 | [Mutex] isItemNotified: node_tlw8pi0202:create_node:success :: true

2022-03-27 23:01:42 | [Mutex] waiting for: [node_tlw8pi0202:subscribe_node]

2022-03-27 23:01:42 | [Mutex] waiting for: [node_tlw8pi0202:subscribe_node]

2022-03-27 23:01:42 | [Mutex] received everything.

2022-03-27 23:01:42 | [Mutex] isItemNotified: node_tlw8pi0202:subscribe_node:success :: true

2022-03-27 23:01:42 |


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


2022-03-27 23:01:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-27 23:01:42 | command: <data><node>node_tlw8pi0202</node><entry><content>content_cmw1xt0203</content></entry></data>

2022-03-27 23:01:42 | target: http://localhost:8088

2022-03-27 23:01:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-27 23:01:42 | entity: <data><node>node_tlw8pi0202</node><entry><content>content_cmw1xt0203</content></entry></data>

2022-03-27 23:01:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 06:01:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-27 23:01:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3b18ffe2-d5ff-4d46-8d21-b95e3f2c3314</value></item-id></result>

2022-03-27 23:01:42 | contains: true

2022-03-27 23:01:42 | [Mutex] received everything.

2022-03-27 23:01:42 | [Mutex] isItemNotified: user_regularlrxzta0201@test-domain.com:message:received:content_cmw1xt0203 :: true

2022-03-27 23:01:42 |


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


2022-03-27 23:01:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-27 23:01:42 | command: <data><node>node_tlw8pi0202</node><expire-at>2022-03-28T06:01:37Z</expire-at><entry><content>content_2oumwi0204</content></entry></data>

2022-03-27 23:01:42 | target: http://localhost:8088

2022-03-27 23:01:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-27 23:01:42 | entity: <data><node>node_tlw8pi0202</node><expire-at>2022-03-28T06:01:37Z</expire-at><entry><content>content_2oumwi0204</content></entry></data>

2022-03-27 23:01:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 06:01:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-27 23:01:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>65ee0102-09e2-49bb-a64b-db49a0d82b36</value></item-id></result>

2022-03-27 23:01:42 | contains: true

2022-03-27 23:01:42 | [Mutex] waiting for: [user_regularlrxzta0201@test-domain.com:message:received:content_2oumwi0204]

2022-03-27 23:01:57 | [Mutex] timeout. Not received [user_regularlrxzta0201@test-domain.com:message:received:content_2oumwi0204]

2022-03-27 23:01:57 | [Mutex] isItemNotified: user_regularlrxzta0201@test-domain.com:message:received:content_2oumwi0204 :: false

2022-03-27 23:01:57 |


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


2022-03-27 23:01:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-27 23:01:57 | command: <data><node>node_tlw8pi0202</node><entry><content>content_pz4vmt0205</content></entry></data>

2022-03-27 23:01:57 | target: http://localhost:8088

2022-03-27 23:01:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-03-27 23:01:57 | entity: <data><node>node_tlw8pi0202</node><entry><content>content_pz4vmt0205</content></entry></data>

2022-03-27 23:01:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 06:01:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-27 23:01:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>25ff0731-efc4-483f-a95f-1eaed089d092</value></item-id></result>

2022-03-27 23:01:57 | contains: true

2022-03-27 23:02:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-27 23:02:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] DNS entry stored in session object: localhost:5222

2022-03-27 23:02:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-27 23:02:02 | [Mutex] waiting for: [user_regularlrxzta0201@test-domain.com:message:received:content_pz4vmt0205]

2022-03-27 23:02:02 | [Mutex] received everything.

2022-03-27 23:02:02 | [Mutex] isItemNotified: user_regularlrxzta0201@test-domain.com:message:received:content_pz4vmt0205 :: true

2022-03-27 23:02:02 |


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


2022-03-27 23:02:02 | [Mutex] received everything.

2022-03-27 23:02:02 | [Mutex] isItemNotified: node_tlw8pi0202:subscribe_node:success :: true

2022-03-27 23:02:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-03-27 23:02:02 | command: <data><node>node_tlw8pi0202</node><expire-at>2022-03-28T06:02:07Z</expire-at><entry><content>content_uw2hj50206</content></entry></data>

2022-03-27 23:02:02 | target: http://localhost:8088

2022-03-27 23:02:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-03-27 23:02:02 | entity: <data><node>node_tlw8pi0202</node><expire-at>2022-03-28T06:02:07Z</expire-at><entry><content>content_uw2hj50206</content></entry></data>

2022-03-27 23:02:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 06:02:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-03-27 23:02:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5ab42989-1555-4ec6-b9d5-626feefcbeea</value></item-id></result>

2022-03-27 23:02:02 | contains: true

2022-03-27 23:02:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-03-27 23:02:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222

2022-03-27 23:02:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-03-27 23:02:10 | [Mutex] waiting for: [user_regularlrxzta0201@test-domain.com:message:received:content_uw2hj50206]

2022-03-27 23:02:10 | [Mutex] waiting for: [user_regularlrxzta0201@test-domain.com:message:received:content_uw2hj50206]

2022-03-27 23:02:25 | [Mutex] timeout. Not received [user_regularlrxzta0201@test-domain.com:message:received:content_uw2hj50206]

2022-03-27 23:02:25 | [Mutex] received everything.

2022-03-27 23:02:25 | [Mutex] isItemNotified: user_regularlrxzta0201@test-domain.com:message:received:content_uw2hj50206 :: false

2022-03-27 23:02:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uw2hj50206 :: true