Generator to generate car related entries.
Wheeled motor vehicle used for transportation.
a random car
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.car())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.car())}
Output (formatted as JSON value)
{"Type":"Passenger car compact","Fuel":"CNG","Transmission":"Automatic","Brand":"Daewoo","Model":"Thunderbird","Year":1905} Copy
{"Type":"Passenger car compact","Fuel":"CNG","Transmission":"Automatic","Brand":"Daewoo","Model":"Thunderbird","Year":1905}
Type of energy source a car uses.
a random car fuel type
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carFuelType())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carFuelType())}
"Ethanol" Copy
"Ethanol"
Company or brand that manufactures and designs cars.
a random car maker
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carMaker())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carMaker())}
"Lancia" Copy
"Lancia"
Specific design or version of a car produced by a manufacturer.
a random car model
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carModel())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carModel())}
"Tucson 4wd" Copy
"Tucson 4wd"
Mechanism a car uses to transmit power from the engine to the wheels.
a random car transmission type
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carTransmissionType())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carTransmissionType())}
"Manual" Copy
"Manual"
Classification of cars based on size, use, or body style.
a random car type
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carType())} Copy
import { Faker } from "k6/x/faker"let faker = new Faker(11)export default function () { console.log(faker.car.carType())}
"Passenger car compact" Copy
"Passenger car compact"
Generator to generate car related entries.