Generated by TestNG with ReportNG at 22:54 PDT on Thursday 08 September 2022
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.985s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.573s
2022-09-08 23:17:41 |

2022-09-08 23:17:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-09-08 23:17:41 | ------------------------------------

2022-09-08 23:17:41 | [Mutex] isItemNotified: node_bt6pp10204:exists :: false

2022-09-08 23:17:41 | [Mutex] waiting for: [node_bt6pp10204:create_node]

2022-09-08 23:17:41 | [Mutex] received everything.

2022-09-08 23:17:41 | [Mutex] isItemNotified: node_bt6pp10204:create_node:success :: true

2022-09-08 23:17:41 | [Mutex] waiting for: [node_bt6pp10204:subscribe_node]

2022-09-08 23:17:41 | [Mutex] received everything.

2022-09-08 23:17:41 | [Mutex] isItemNotified: node_bt6pp10204:subscribe_node:success :: true

2022-09-08 23:17:41 |


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


2022-09-08 23:17:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 23:17:41 | command: <data><node>node_bt6pp10204</node><entry><content>content_lw1hcn0205</content></entry></data>

2022-09-08 23:17:41 | target: http://localhost:8088

2022-09-08 23:17:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-08 23:17:41 | entity: <data><node>node_bt6pp10204</node><entry><content>content_lw1hcn0205</content></entry></data>

2022-09-08 23:17:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 06:17:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 23:17:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5bee61f2-0c9b-4e3f-8cdb-18037de7bda7</value></item-id></result>

2022-09-08 23:17:41 | contains: true

2022-09-08 23:17:41 | [Mutex] received everything.

2022-09-08 23:17:41 | [Mutex] isItemNotified: user_regular8yrqti0203@test-domain.com:message:received:content_lw1hcn0205 :: true

2022-09-08 23:17:41 |


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


2022-09-08 23:17:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 23:17:41 | command: <data><node>node_bt6pp10204</node><expire-at>2022-09-09T06:17:36Z</expire-at><entry><content>content_2ruf4y0206</content></entry></data>

2022-09-08 23:17:41 | target: http://localhost:8088

2022-09-08 23:17:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-09-08 23:17:41 | entity: <data><node>node_bt6pp10204</node><expire-at>2022-09-09T06:17:36Z</expire-at><entry><content>content_2ruf4y0206</content></entry></data>

2022-09-08 23:17:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 06:17:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 23:17:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c4161e4-c3ac-4d55-b593-6668b44ccc27</value></item-id></result>

2022-09-08 23:17:41 | contains: true

2022-09-08 23:17:41 | [Mutex] waiting for: [user_regular8yrqti0203@test-domain.com:message:received:content_2ruf4y0206]

2022-09-08 23:17:56 | [Mutex] timeout. Not received [user_regular8yrqti0203@test-domain.com:message:received:content_2ruf4y0206]

2022-09-08 23:17:56 | [Mutex] isItemNotified: user_regular8yrqti0203@test-domain.com:message:received:content_2ruf4y0206 :: false

2022-09-08 23:17:56 |


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


2022-09-08 23:17:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 23:17:56 | command: <data><node>node_bt6pp10204</node><entry><content>content_ow3htu0207</content></entry></data>

2022-09-08 23:17:56 | target: http://localhost:8088

2022-09-08 23:17:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-09-08 23:17:56 | entity: <data><node>node_bt6pp10204</node><entry><content>content_ow3htu0207</content></entry></data>

2022-09-08 23:17:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 06:17:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 23:17:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d68810f9-f136-4842-8f5a-c75c6c3b880d</value></item-id></result>

2022-09-08 23:17:56 | contains: true

2022-09-08 23:18:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-08 23:18:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-09-08 23:18:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-08 23:18:02 | [Mutex] waiting for: [user_regular8yrqti0203@test-domain.com:message:received:content_ow3htu0207]

2022-09-08 23:18:02 | [Mutex] waiting for: [user_regular8yrqti0203@test-domain.com:message:received:content_ow3htu0207]

2022-09-08 23:18:02 | [Mutex] received everything.

2022-09-08 23:18:02 | [Mutex] isItemNotified: user_regular8yrqti0203@test-domain.com:message:received:content_ow3htu0207 :: true

2022-09-08 23:18:02 |


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


2022-09-08 23:18:02 | [Mutex] received everything.

2022-09-08 23:18:02 | [Mutex] isItemNotified: node_bt6pp10204:subscribe_node:success :: true

2022-09-08 23:18:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-09-08 23:18:02 | command: <data><node>node_bt6pp10204</node><expire-at>2022-09-09T06:18:07Z</expire-at><entry><content>content_pycg0208</content></entry></data>

2022-09-08 23:18:02 | target: http://localhost:8088

2022-09-08 23:18:02 | entity: [Content-Type: application/xml,Content-Length: 134,Chunked: false]

2022-09-08 23:18:02 | entity: <data><node>node_bt6pp10204</node><expire-at>2022-09-09T06:18:07Z</expire-at><entry><content>content_pycg0208</content></entry></data>

2022-09-08 23:18:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 06:18:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-09-08 23:18:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4c7f4f5f-0168-42bb-a734-16a793a1ceda</value></item-id></result>

2022-09-08 23:18:02 | contains: true

2022-09-08 23:18:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-09-08 23:18:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-09-08 23:18:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-09-08 23:18:10 | [Mutex] waiting for: [user_regular8yrqti0203@test-domain.com:message:received:content_pycg0208]

2022-09-08 23:18:10 | [Mutex] waiting for: [user_regular8yrqti0203@test-domain.com:message:received:content_pycg0208]

2022-09-08 23:18:10 | [Mutex] waiting for: [user_regular8yrqti0203@test-domain.com:message:received:content_pycg0208]

2022-09-08 23:18:25 | [Mutex] timeout. Not received [user_regular8yrqti0203@test-domain.com:message:received:content_pycg0208]

2022-09-08 23:18:25 | [Mutex] received everything.

2022-09-08 23:18:25 | [Mutex] isItemNotified: user_regular8yrqti0203@test-domain.com:message:received:content_pycg0208 :: false

2022-09-08 23:18:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pycg0208 :: true