Generated by TestNG with ReportNG at 22:46 PDT on Monday 15 August 2022
root@7c41cec37518 / 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.843s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.796s
2022-08-15 23:00:29 |

2022-08-15 23:00:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-15 23:00:29 | ------------------------------------

2022-08-15 23:00:29 | [Mutex] isItemNotified: node_o8jq230204:exists :: false

2022-08-15 23:00:29 | [Mutex] waiting for: [node_o8jq230204:create_node]

2022-08-15 23:00:29 | [Mutex] received everything.

2022-08-15 23:00:29 | [Mutex] isItemNotified: node_o8jq230204:create_node:success :: true

2022-08-15 23:00:29 | [Mutex] waiting for: [node_o8jq230204:subscribe_node]

2022-08-15 23:00:29 | [Mutex] received everything.

2022-08-15 23:00:29 | [Mutex] isItemNotified: node_o8jq230204:subscribe_node:success :: true

2022-08-15 23:00:29 |


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


2022-08-15 23:00:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 23:00:29 | command: <data><node>node_o8jq230204</node><entry><content>content_7seo470205</content></entry></data>

2022-08-15 23:00:29 | target: http://localhost:8088

2022-08-15 23:00:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-15 23:00:29 | entity: <data><node>node_o8jq230204</node><entry><content>content_7seo470205</content></entry></data>

2022-08-15 23:00:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 06:00:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 23:00:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ef3fa28d-47b6-41f3-9e4f-1cda8342f97d</value></item-id></result>

2022-08-15 23:00:29 | contains: true

2022-08-15 23:00:29 | [Mutex] waiting for: [user_regularufpotx0203@test-domain.com:message:received:content_7seo470205]

2022-08-15 23:00:29 | [Mutex] received everything.

2022-08-15 23:00:29 | [Mutex] isItemNotified: user_regularufpotx0203@test-domain.com:message:received:content_7seo470205 :: true

2022-08-15 23:00:29 |


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


2022-08-15 23:00:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 23:00:29 | command: <data><node>node_o8jq230204</node><expire-at>2022-08-16T06:00:24Z</expire-at><entry><content>content_34kdzn0206</content></entry></data>

2022-08-15 23:00:29 | target: http://localhost:8088

2022-08-15 23:00:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-15 23:00:29 | entity: <data><node>node_o8jq230204</node><expire-at>2022-08-16T06:00:24Z</expire-at><entry><content>content_34kdzn0206</content></entry></data>

2022-08-15 23:00:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 06:00:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 23:00:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d798ee6-cfa0-4563-87ed-2d0924db9b50</value></item-id></result>

2022-08-15 23:00:29 | contains: true

2022-08-15 23:00:29 | [Mutex] waiting for: [user_regularufpotx0203@test-domain.com:message:received:content_34kdzn0206]

2022-08-15 23:00:44 | [Mutex] timeout. Not received [user_regularufpotx0203@test-domain.com:message:received:content_34kdzn0206]

2022-08-15 23:00:44 | [Mutex] isItemNotified: user_regularufpotx0203@test-domain.com:message:received:content_34kdzn0206 :: false

2022-08-15 23:00:44 |


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


2022-08-15 23:00:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 23:00:44 | command: <data><node>node_o8jq230204</node><entry><content>content_ao9fq0207</content></entry></data>

2022-08-15 23:00:44 | target: http://localhost:8088

2022-08-15 23:00:44 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2022-08-15 23:00:44 | entity: <data><node>node_o8jq230204</node><entry><content>content_ao9fq0207</content></entry></data>

2022-08-15 23:00:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 06:00:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 23:00:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>38e06051-33d7-46ad-b274-3904a8f88bd8</value></item-id></result>

2022-08-15 23:00:44 | contains: true

2022-08-15 23:00:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-15 23:00:50 | [Mutex] waiting for: [user_regularufpotx0203@test-domain.com:message:received:content_ao9fq0207]

2022-08-15 23:00:50 | [Mutex] waiting for: [user_regularufpotx0203@test-domain.com:message:received:content_ao9fq0207]

2022-08-15 23:00:50 | [Mutex] received everything.

2022-08-15 23:00:50 | [Mutex] isItemNotified: user_regularufpotx0203@test-domain.com:message:received:content_ao9fq0207 :: true

2022-08-15 23:00:50 |


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


2022-08-15 23:00:50 | [Mutex] received everything.

2022-08-15 23:00:50 | [Mutex] isItemNotified: node_o8jq230204:subscribe_node:success :: true

2022-08-15 23:00:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-15 23:00:50 | command: <data><node>node_o8jq230204</node><expire-at>2022-08-16T06:00:55Z</expire-at><entry><content>content_upj60v0208</content></entry></data>

2022-08-15 23:00:50 | target: http://localhost:8088

2022-08-15 23:00:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-15 23:00:50 | entity: <data><node>node_o8jq230204</node><expire-at>2022-08-16T06:00:55Z</expire-at><entry><content>content_upj60v0208</content></entry></data>

2022-08-15 23:00:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Aug 2022 06:00:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-15 23:00:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b2751227-bfac-4027-9d01-98c4e4505248</value></item-id></result>

2022-08-15 23:00:50 | contains: true

2022-08-15 23:00:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2022-08-15 23:00:58 | [Mutex] waiting for: [user_regularufpotx0203@test-domain.com:message:received:content_upj60v0208]

2022-08-15 23:01:13 | [Mutex] timeout. Not received [user_regularufpotx0203@test-domain.com:message:received:content_upj60v0208]

2022-08-15 23:01:13 | [Mutex] received everything.

2022-08-15 23:01:13 | [Mutex] isItemNotified: user_regularufpotx0203@test-domain.com:message:received:content_upj60v0208 :: false

2022-08-15 23:01:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_upj60v0208 :: true