Generated by TestNG with ReportNG at 22:17 PDT on Wednesday 22 June 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 : 44.799s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.578s
2022-06-22 22:32:10 |

2022-06-22 22:32:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-06-22 22:32:10 | ------------------------------------

2022-06-22 22:32:10 | [Mutex] isItemNotified: node_11i4cc0204:exists :: false

2022-06-22 22:32:10 | [Mutex] waiting for: [node_11i4cc0204:create_node]

2022-06-22 22:32:10 | [Mutex] received everything.

2022-06-22 22:32:10 | [Mutex] isItemNotified: node_11i4cc0204:create_node:success :: true

2022-06-22 22:32:10 | [Mutex] waiting for: [node_11i4cc0204:subscribe_node]

2022-06-22 22:32:10 | [Mutex] received everything.

2022-06-22 22:32:10 | [Mutex] isItemNotified: node_11i4cc0204:subscribe_node:success :: true

2022-06-22 22:32:10 |


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


2022-06-22 22:32:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:32:10 | command: <data><node>node_11i4cc0204</node><entry><content>content_pilkqt0205</content></entry></data>

2022-06-22 22:32:10 | target: http://localhost:8088

2022-06-22 22:32:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-22 22:32:10 | entity: <data><node>node_11i4cc0204</node><entry><content>content_pilkqt0205</content></entry></data>

2022-06-22 22:32:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:32:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:32:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>df9c411d-3225-4178-b67a-feaec9f01235</value></item-id></result>

2022-06-22 22:32:10 | contains: true

2022-06-22 22:32:10 | [Mutex] received everything.

2022-06-22 22:32:10 | [Mutex] isItemNotified: user_regulariq6f9c0203@test-domain.com:message:received:content_pilkqt0205 :: true

2022-06-22 22:32:10 |


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


2022-06-22 22:32:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:32:10 | command: <data><node>node_11i4cc0204</node><expire-at>2022-06-23T05:32:05Z</expire-at><entry><content>content_z5isj40206</content></entry></data>

2022-06-22 22:32:10 | target: http://localhost:8088

2022-06-22 22:32:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-22 22:32:10 | entity: <data><node>node_11i4cc0204</node><expire-at>2022-06-23T05:32:05Z</expire-at><entry><content>content_z5isj40206</content></entry></data>

2022-06-22 22:32:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:32:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:32:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8e31e0d6-69ff-4370-9a6d-6f36526fd85e</value></item-id></result>

2022-06-22 22:32:10 | contains: true

2022-06-22 22:32:10 | [Mutex] waiting for: [user_regulariq6f9c0203@test-domain.com:message:received:content_z5isj40206]

2022-06-22 22:32:25 | [Mutex] timeout. Not received [user_regulariq6f9c0203@test-domain.com:message:received:content_z5isj40206]

2022-06-22 22:32:25 | [Mutex] isItemNotified: user_regulariq6f9c0203@test-domain.com:message:received:content_z5isj40206 :: false

2022-06-22 22:32:25 |


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


2022-06-22 22:32:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:32:26 | command: <data><node>node_11i4cc0204</node><entry><content>content_63qsg90207</content></entry></data>

2022-06-22 22:32:26 | target: http://localhost:8088

2022-06-22 22:32:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-06-22 22:32:26 | entity: <data><node>node_11i4cc0204</node><entry><content>content_63qsg90207</content></entry></data>

2022-06-22 22:32:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:32:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:32:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1a5667e1-ce89-4392-a6be-a434acd533fb</value></item-id></result>

2022-06-22 22:32:26 | contains: true

2022-06-22 22:32:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-06-22 22:32:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-22 22:32:31 | [Mutex] waiting for: [user_regulariq6f9c0203@test-domain.com:message:received:content_63qsg90207]

2022-06-22 22:32:31 | [Mutex] waiting for: [user_regulariq6f9c0203@test-domain.com:message:received:content_63qsg90207]

2022-06-22 22:32:31 | [Mutex] received everything.

2022-06-22 22:32:31 | [Mutex] isItemNotified: user_regulariq6f9c0203@test-domain.com:message:received:content_63qsg90207 :: true

2022-06-22 22:32:31 |


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


2022-06-22 22:32:31 | [Mutex] received everything.

2022-06-22 22:32:31 | [Mutex] isItemNotified: node_11i4cc0204:subscribe_node:success :: true

2022-06-22 22:32:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-06-22 22:32:31 | command: <data><node>node_11i4cc0204</node><expire-at>2022-06-23T05:32:36Z</expire-at><entry><content>content_iytnnk0208</content></entry></data>

2022-06-22 22:32:31 | target: http://localhost:8088

2022-06-22 22:32:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-06-22 22:32:31 | entity: <data><node>node_11i4cc0204</node><expire-at>2022-06-23T05:32:36Z</expire-at><entry><content>content_iytnnk0208</content></entry></data>

2022-06-22 22:32:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 23 Jun 2022 05:32:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-06-22 22:32:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b745d8e2-e501-44b9-a089-1af737cdb92d</value></item-id></result>

2022-06-22 22:32:31 | contains: true

2022-06-22 22:32:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2022-06-22 22:32:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-06-22 22:32:39 | [Mutex] waiting for: [user_regulariq6f9c0203@test-domain.com:message:received:content_iytnnk0208]

2022-06-22 22:32:54 | [Mutex] timeout. Not received [user_regulariq6f9c0203@test-domain.com:message:received:content_iytnnk0208]

2022-06-22 22:32:54 | [Mutex] received everything.

2022-06-22 22:32:54 | [Mutex] isItemNotified: user_regulariq6f9c0203@test-domain.com:message:received:content_iytnnk0208 :: false

2022-06-22 22:32:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iytnnk0208 :: true