- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 17 for jsonPath (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/it/admin/CrawlerLogTests.java
String response = checkMethodBase(searchBody).get("/api/admin/crawlinginfo/logs").asString(); JsonPath jsonPath = JsonPath.from(response); assertEquals(0, jsonPath.getInt("response.status")); List<Map<String, Object>> logs = jsonPath.getList("response.logs"); assertTrue(logs.size() >= 1); // Test with pagination searchBody.put("size", 10);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Mar 30 14:01:34 GMT 2026 - 13.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java
Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } private static void deleteLabel(final String id) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/PopularWordsApiTests.java
String response = given().contentType("application/json").when().get("/api/v1/popular-words").asString(); JsonPath jsonPath = JsonPath.from(response); assertTrue(jsonPath.getInt("record_count") >= 0); // data is an array of strings assertTrue(jsonPath.getList("data") != null); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 3.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/ElevateWordTests.java
assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode); if (statusCode == 200) { JsonPath jsonPath = JsonPath.from(response.asString()); assertEquals(Integer.valueOf(0), jsonPath.get("response.status")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/BadWordTests.java
assertTrue(statusCode == 200 || statusCode == 400, "Status code should be 200 or 400, but was " + statusCode); if (statusCode == 200) { JsonPath jsonPath = JsonPath.from(response.asString()); assertEquals(Integer.valueOf(0), jsonPath.get("response.status")); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/PluginTests.java
} @Test void testCRUD() throws Exception { List<Map<String, Object>> available = checkGetMethod(Collections.emptyMap(), getAvailableEndpointSuffix() + "/").body().jsonPath().get("response.plugins"); final Map<String, Object> targetMap = available.stream().filter(map -> !map.get("name").toString().startsWith("fess-")).toList().get(0);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/SearchApiTests.java
Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } private static String createCrawlLabel() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 21 13:29:45 GMT 2025 - 19K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java
Response response = checkMethodBase(labelBody).post("/api/admin/labeltype/setting"); JsonPath jsonPath = JsonPath.from(response.asString()); assertTrue(jsonPath.getBoolean("response.created")); assertEquals(0, jsonPath.getInt("response.status")); return jsonPath.get("response.id"); } protected static void deleteLabel(String id) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 20 03:03:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/FailureUrlTests.java
List<Map<String, Object>> logs = JsonPath.from(response).getList("response.logs"); logger.info("Failure URL logs: {}", logs); assertTrue(logs.size() > 0, "Should have at least one failure URL log"); // Verify response structure Integer status = JsonPath.from(response).get("response.status"); assertEquals(0, status);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/it/admin/GroupTests.java
import java.util.HashMap; import java.util.List; import java.util.Map; import org.codelibs.fess.it.CrudTestBase; import org.junit.jupiter.api.Tag; import org.junit.jupiter.api.Test; import io.restassured.path.json.JsonPath; @Tag("it") public class GroupTests extends CrudTestBase { private static final String NAME_PREFIX = "groupTest_"; private static final String API_PATH = "/api/admin/group";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jun 19 07:14:01 GMT 2025 - 3.3K bytes - Click Count (0)